Signal-iOS/SignalMessaging/environment/migrations/PrivateMethodsForMigration.h
Jordan Rose 05725078f1 SSK: Migrate SSKSessionStore to Swift
This is a no-change migration /except/ that I've dropped entry points
that are unused in the app or tests.
2021-01-28 12:03:50 -08:00

53 lines
1.3 KiB
Objective-C

//
// Copyright (c) 2021 Open Whisper Systems. All rights reserved.
//
#import <SignalServiceKit/OWSIdentityManager.h>
#import <SignalServiceKit/SSKPreKeyStore.h>
#import <SignalServiceKit/SSKSignedPreKeyStore.h>
#import <SignalServiceKit/SignalServiceKit-Swift.h>
#import <SignalServiceKit/TSAccountManager.h>
NS_ASSUME_NONNULL_BEGIN
// We need access to this for migration purposes
@class SDSKeyValueStore;
@interface SSKSessionStore (PrivateMethodsForMigration)
@property (nonatomic, readonly) SDSKeyValueStore *keyValueStore;
@end
@interface SSKPreKeyStore (PrivateMethodsForMigration)
@property (nonatomic, readonly) SDSKeyValueStore *keyStore;
@property (nonatomic, readonly) SDSKeyValueStore *metadataStore;
@end
@interface SSKSignedPreKeyStore (PrivateMethodsForMigration)
@property (nonatomic, readonly) SDSKeyValueStore *keyStore;
@property (nonatomic, readonly) SDSKeyValueStore *metadataStore;
@end
@interface OWSIdentityManager (PrivateMethodsForMigration)
@property (nonatomic, readonly) SDSKeyValueStore *ownIdentityKeyValueStore;
@property (nonatomic, readonly) SDSKeyValueStore *queuedVerificationStateSyncMessagesKeyValueStore;
@end
@interface TSAccountManager (PrivateMethodsForMigration)
@property (nonatomic, readonly) SDSKeyValueStore *keyValueStore;
@end
NS_ASSUME_NONNULL_END