OTSupportSOSMessage.h [plain text]
#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#import "OTGlobalEnums.h"
#ifdef __cplusplus
#define OTSUPPORTSOSMESSAGE_FUNCTION extern "C" __attribute__((visibility("hidden")))
#else
#define OTSUPPORTSOSMESSAGE_FUNCTION extern __attribute__((visibility("hidden")))
#endif
__attribute__((visibility("hidden")))
@interface OTSupportSOSMessage : PBCodable <NSCopying>
{
OTSupportType _supported;
struct {
int supported:1;
} _has;
}
@property (nonatomic) BOOL hasSupported;
@property (nonatomic) OTSupportType supported;
- (NSString *)supportedAsString:(OTSupportType)value;
- (OTSupportType)StringAsSupported:(NSString *)str;
- (void)copyTo:(OTSupportSOSMessage *)other;
- (void)mergeFrom:(OTSupportSOSMessage *)other;
OTSUPPORTSOSMESSAGE_FUNCTION BOOL OTSupportSOSMessageReadFrom(__unsafe_unretained OTSupportSOSMessage *self, __unsafe_unretained PBDataReader *reader);
@end