reverting the changes of 1471 ENGINE-133
authorVolker Birk <vb@pep.foundation>
Thu, 08 Dec 2016 10:25:53 +0100
branchENGINE-133
changeset 1472426533979556
parent 1469 43e45b53e5cb
reverting the changes of 1471
src/sync.h
     1.1 --- a/src/sync.h	Thu Dec 08 10:00:52 2016 +0100
     1.2 +++ b/src/sync.h	Thu Dec 08 10:25:53 2016 +0100
     1.3 @@ -27,22 +27,12 @@
     1.4  typedef PEP_STATUS (*messageToSend_t)(void *obj, message *msg);
     1.5  
     1.6  typedef enum _sync_handshake_signal {
     1.7 -    SYNC_HANDSHAKE_UNDEFINED = 0,
     1.8 -
     1.9 -    // request show handshake dialog
    1.10 -    SYNC_HANDSHAKE_INIT_ADD_OUR_DEVICE,
    1.11 -    SYNC_HANDSHAKE_INIT_ADD_OTHER_DEVICE,
    1.12 -    SYNC_HANDSHAKE_INIT_FORM_GROUP,
    1.13 -
    1.14 -    // handshake process was cancelled
    1.15 -    SYNC_HANDSHAKE_CANCELED,
    1.16 -
    1.17 -    // handshake accepted by user
    1.18 -    SYNC_HANDSHAKE_ACCEPTED_DEVICE_ADDED,
    1.19 -    SYNC_HANDSHAKE_ACCEPTED_GROUP_CREATED,
    1.20 -
    1.21 -    // handshake was rejected by user
    1.22 -    SYNC_HANDSHAKE_REJECTED
    1.23 +    SYNC_HANDSHAKE_DISMISS_DIALOG = 0,
    1.24 +    SYNC_HANDSHAKE_SHOW_DIALOG = 1,
    1.25 +    SYNC_HANDSHAKE_SUCCESS = 2,
    1.26 +    SYNC_HANDSHAKE_FAILURE = 3,
    1.27 +    SYNC_DEVICE_ADDED = 4,
    1.28 +    SYNC_GROUP_CREATED = 5
    1.29  } sync_handshake_signal;
    1.30  
    1.31  // notifyHandshake() - notify UI about sync handshaking process