mirror of https://github.com/oxen-io/session-ios
Rework database view registration.
parent
fe67cd924c
commit
6b58b4cbde
@ -0,0 +1,23 @@
|
|||||||
|
//
|
||||||
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "OWSStorage.h"
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
@interface OWSStorage (Subclass)
|
||||||
|
|
||||||
|
- (void)runSyncRegistrations;
|
||||||
|
- (void)runAsyncRegistrationsWithCompletion:(void (^_Nonnull)(void))completion;
|
||||||
|
|
||||||
|
- (BOOL)areAsyncRegistrationsComplete;
|
||||||
|
- (BOOL)areSyncRegistrationsComplete;
|
||||||
|
|
||||||
|
- (NSString *)dbPath;
|
||||||
|
|
||||||
|
- (void)resetStorage;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
Loading…
Reference in New Issue