mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
29 lines
654 B
Objective-C
29 lines
654 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class OWSPrimaryStorage;
|
|
@class OWSStorage;
|
|
|
|
@interface OWSFailedMessagesJob : NSObject
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
- (instancetype)initWithPrimaryStorage:(OWSPrimaryStorage *)primaryStorage NS_DESIGNATED_INITIALIZER;
|
|
|
|
- (void)run;
|
|
|
|
+ (NSString *)databaseExtensionName;
|
|
+ (void)asyncRegisterDatabaseExtensionsWithPrimaryStorage:(OWSStorage *)storage;
|
|
|
|
#ifdef DEBUG
|
|
/**
|
|
* Only use the sync version for testing, generally we'll want to register extensions async
|
|
*/
|
|
- (void)blockingRegisterDatabaseExtensions;
|
|
#endif
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|