18 lines
545 B
Objective-C
18 lines
545 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef void (^OWSDatabaseMigrationCompletion)(BOOL success, BOOL requiresConfigurationSync);
|
|
|
|
// This is _NOT_ a singleton and will be instantiated each time that the SAE is used.
|
|
@interface AppSetup : NSObject
|
|
|
|
+ (void)setupEnvironmentWithAppSpecificSingletonBlock:(dispatch_block_t)appSpecificSingletonBlock
|
|
migrationCompletion:(OWSDatabaseMigrationCompletion)migrationCompletion;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|