]> git.saurik.com Git - apple/security.git/blob - CircleJoinRequested/Applicant.h
Security-59306.11.20.tar.gz
[apple/security.git] / CircleJoinRequested / Applicant.h
1 //
2 // Applicant.h
3 // Security
4 //
5 // Created by J Osborne on 3/7/13.
6 // Copyright (c) 2013 Apple Inc. All Rights Reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #include "keychain/SecureObjectSync/SOSPeerInfo.h"
11
12 typedef enum {
13 ApplicantWaiting,
14 ApplicantOnScreen,
15 ApplicantRejected,
16 ApplicantAccepted,
17 } ApplicantUIState;
18
19 @interface Applicant : NSObject
20 @property (readwrite) ApplicantUIState applicantUIState;
21 @property (readonly) NSString *applicantUIStateName;
22 @property (readwrite) SOSPeerInfoRef rawPeerInfo;
23 @property (readonly) NSString *name;
24 @property (readonly) NSString *idString;
25 @property (readonly) NSString *deviceType;
26 -(id)initWithPeerInfo:(SOSPeerInfoRef) peerInfo;
27 -(NSString *)description;
28 -(void)dealloc;
29 @end