src/sync.h
changeset 1477 c0d761ae1fd9
parent 1475 f76bc25570df
child 1482 dae999ee1a41
     1.1 --- a/src/sync.h	Thu Dec 08 13:55:07 2016 +0100
     1.2 +++ b/src/sync.h	Fri Dec 09 01:36:57 2016 +0100
     1.3 @@ -79,6 +79,7 @@
     1.4  
     1.5  typedef PEP_STATUS (*messageToSend_t)(void *obj, message *msg);
     1.6  
     1.7 +// TODO add this to generated code.
     1.8  typedef enum _sync_handshake_signal {
     1.9      SYNC_NOTIFY_UNDEFINED = 0,
    1.10  
    1.11 @@ -87,17 +88,13 @@
    1.12      SYNC_NOTIFY_INIT_ADD_OTHER_DEVICE,
    1.13      SYNC_NOTIFY_INIT_FORM_GROUP,
    1.14  
    1.15 -    // handshake process is done or was cancelled
    1.16 -    SYNC_NOTIFY_DISMISSED,
    1.17 -    SYNC_NOTIFY_CANCELED,
    1.18 +    // handshake process timed out
    1.19      SYNC_NOTIFY_TIMEOUT,
    1.20  
    1.21      // handshake accepted by user
    1.22      SYNC_NOTIFY_ACCEPTED_DEVICE_ADDED,
    1.23 -    SYNC_NOTIFY_ACCEPTED_GROUP_CREATED,
    1.24 +    SYNC_NOTIFY_ACCEPTED_GROUP_CREATED
    1.25  
    1.26 -    // handshake was rejected by user
    1.27 -    SYNC_NOTIFY_REJECTED
    1.28  } sync_handshake_signal;
    1.29  
    1.30  // notifyHandshake() - notify UI about sync handshaking process