session-ios/SignalServiceKit/src/Messages/DeviceSyncing/OWSSyncContactsMessage.h

29 lines
807 B
C
Raw Normal View History

//
2018-05-11 16:36:40 +02:00
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
//
#import "OWSOutgoingSyncMessage.h"
NS_ASSUME_NONNULL_BEGIN
@protocol ProfileManagerProtocol;
2018-05-11 16:36:40 +02:00
@class OWSIdentityManager;
2018-05-11 16:36:40 +02:00
@class SignalAccount;
@interface OWSSyncContactsMessage : OWSOutgoingSyncMessage
2018-05-11 16:36:40 +02:00
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithSignalAccounts:(NSArray<SignalAccount *> *)signalAccounts
identityManager:(OWSIdentityManager *)identityManager
2018-05-11 16:36:40 +02:00
profileManager:(id<ProfileManagerProtocol>)profileManager NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
2018-08-07 18:57:48 +02:00
- (nullable NSData *)buildPlainTextAttachmentDataWithTransaction:(YapDatabaseReadTransaction *)transaction;
@end
NS_ASSUME_NONNULL_END