KCInitialMessageData.h [plain text]
#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define KCINITIALMESSAGEDATA_FUNCTION extern "C"
#else
#define KCINITIALMESSAGEDATA_FUNCTION extern
#endif
@interface KCInitialMessageData : PBCodable <NSCopying>
{
NSData *_prepareMessage;
}
@property (nonatomic, readonly) BOOL hasPrepareMessage;
@property (nonatomic, retain) NSData *prepareMessage;
- (void)copyTo:(KCInitialMessageData *)other;
- (void)mergeFrom:(KCInitialMessageData *)other;
KCINITIALMESSAGEDATA_FUNCTION BOOL KCInitialMessageDataReadFrom(__unsafe_unretained KCInitialMessageData *self, __unsafe_unretained PBDataReader *reader);
@end