2018-10-16 22:02:37 +02:00
|
|
|
//
|
|
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2018-10-18 21:59:43 +02:00
|
|
|
@class AnyPromise;
|
|
|
|
@class SignalAccount;
|
2019-12-09 06:27:00 +01:00
|
|
|
@class YapDatabaseReadTransaction;
|
2018-10-18 21:59:43 +02:00
|
|
|
|
2018-10-16 22:02:37 +02:00
|
|
|
@protocol OWSSyncManagerProtocol <NSObject>
|
|
|
|
|
|
|
|
- (void)sendConfigurationSyncMessage;
|
|
|
|
|
2018-12-11 16:24:06 +01:00
|
|
|
- (AnyPromise *)syncLocalContact __attribute__((warn_unused_result));
|
2018-10-18 21:59:43 +02:00
|
|
|
|
2019-12-09 06:27:00 +01:00
|
|
|
- (AnyPromise *)syncContact:(NSString *)hexEncodedPubKey transaction:(YapDatabaseReadTransaction *)transaction;
|
|
|
|
|
2018-12-11 16:24:06 +01:00
|
|
|
- (AnyPromise *)syncAllContacts __attribute__((warn_unused_result));
|
2018-10-18 21:59:43 +02:00
|
|
|
|
2018-12-11 16:24:06 +01:00
|
|
|
- (AnyPromise *)syncContactsForSignalAccounts:(NSArray<SignalAccount *> *)signalAccounts __attribute__((warn_unused_result));
|
2018-10-18 21:59:43 +02:00
|
|
|
|
2020-02-12 06:31:37 +01:00
|
|
|
- (AnyPromise *)syncAllGroups __attribute__((warn_unused_result));
|
|
|
|
|
2018-10-16 22:02:37 +02:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|