mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
689 B
C
32 lines
689 B
C
5 years ago
|
//
|
||
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
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
|