pEpObjCAdapterFramework/PEPEngineTypes.h
branchIOSAD-111
changeset 933 afb6f1c00ed7
parent 863 ab25ff826872
child 973 947d4030f34d
     1.1 --- a/pEpObjCAdapterFramework/PEPEngineTypes.h	Fri Apr 26 16:15:01 2019 +0200
     1.2 +++ b/pEpObjCAdapterFramework/PEPEngineTypes.h	Mon Apr 29 16:17:09 2019 +0200
     1.3 @@ -152,6 +152,31 @@
     1.4      PEPIdentityFlagsDeviceGroup = 0x0100 // PEP_idf_devicegroup = 0x0100     // identity of a device group member
     1.5  };
     1.6  
     1.7 +typedef NS_ENUM(NSInteger, PEPSyncHandshakeSignal) { // _sync_handshake_signal
     1.8 +    PEPSyncHandshakeSignalUndefined = 0, // SYNC_NOTIFY_UNDEFINED = 0,
     1.9 +
    1.10 +    // request show handshake dialog
    1.11 +    PEPSyncHandshakeSignalInitAddOurDevice = 1, // SYNC_NOTIFY_INIT_ADD_OUR_DEVICE = 1,
    1.12 +    PEPSyncHandshakeSignalInitAddOtherDevice = 2, // SYNC_NOTIFY_INIT_ADD_OTHER_DEVICE = 2,
    1.13 +    PEPSyncHandshakeSignalInitFormGroup = 3, // SYNC_NOTIFY_INIT_FORM_GROUP = 3,
    1.14 +    // SYNC_NOTIFY_INIT_MOVE_OUR_DEVICE = 4,
    1.15 +
    1.16 +    // handshake process timed out
    1.17 +    PEPSyncHandshakeSignalTimeout = 5, // SYNC_NOTIFY_TIMEOUT = 5,
    1.18 +
    1.19 +    // handshake accepted by user
    1.20 +    PEPSyncHandshakeSignalAcceptedDeviceAdded = 6, // SYNC_NOTIFY_ACCEPTED_DEVICE_ADDED = 6,
    1.21 +    PEPSyncHandshakeSignalAcceptedGroupCreated = 7, // SYNC_NOTIFY_ACCEPTED_GROUP_CREATED = 7,
    1.22 +    // SYNC_NOTIFY_ACCEPTED_DEVICE_MOVED = 8,
    1.23 +
    1.24 +    // handshake dialog must be closed
    1.25 +    PEPSyncHandshakeSignalOvertaken = 9, // SYNC_NOTIFY_OVERTAKEN = 9,
    1.26 +
    1.27 +    // notificaton of actual group status
    1.28 +    PEPSyncHandshakeSignalSole = 254, // SYNC_NOTIFY_SOLE = 254,
    1.29 +    PEPSyncHandshakeSignalInGroup = 255 // SYNC_NOTIFY_IN_GROUP = 255
    1.30 +};
    1.31 +
    1.32  typedef NS_ENUM(NSInteger, PEPSyncHandshakeResult) {
    1.33      PEPSyncHandshakeResultCancel = -1, // SYNC_HANDSHAKE_CANCEL = -1,
    1.34      PEPSyncHandshakeResultAccepted = 0, // SYNC_HANDSHAKE_ACCEPTED = 0,