src/sync.h
changeset 1785 6471e6e427b3
parent 1731 cb009a53b1c8
child 1786 843c43703546
     1.1 --- a/src/sync.h	Tue May 16 14:26:15 2017 +0200
     1.2 +++ b/src/sync.h	Tue May 16 15:53:59 2017 +0200
     1.3 @@ -203,7 +203,7 @@
     1.4  
     1.5  #include "message.h"
     1.6  #include "sync_fsm.h"
     1.7 -
     1.8 +#include "sync_app.h"
     1.9  
    1.10  // this module is for being used WITHOUT the Transport API in transport.h
    1.11  // DO NOT USE IT WHEN USING Transport API!
    1.12 @@ -227,28 +227,6 @@
    1.13  
    1.14  typedef PEP_STATUS (*messageToSend_t)(void *obj, message *msg);
    1.15  
    1.16 -// TODO add this to generated code.
    1.17 -typedef enum _sync_handshake_signal {
    1.18 -    SYNC_NOTIFY_UNDEFINED = 0,
    1.19 -
    1.20 -    // request show handshake dialog
    1.21 -    SYNC_NOTIFY_INIT_ADD_OUR_DEVICE,
    1.22 -    SYNC_NOTIFY_INIT_ADD_OTHER_DEVICE,
    1.23 -    SYNC_NOTIFY_INIT_FORM_GROUP,
    1.24 -    SYNC_NOTIFY_INIT_MOVE_OUR_DEVICE,
    1.25 -
    1.26 -    // handshake process timed out
    1.27 -    SYNC_NOTIFY_TIMEOUT,
    1.28 -
    1.29 -    // handshake accepted by user
    1.30 -    SYNC_NOTIFY_ACCEPTED_DEVICE_ADDED,
    1.31 -    SYNC_NOTIFY_ACCEPTED_GROUP_CREATED,
    1.32 -    SYNC_NOTIFY_ACCEPTED_DEVICE_MOVED,
    1.33 -
    1.34 -    // handshake dialog must be closed
    1.35 -    SYNC_NOTIFY_OVERTAKEN
    1.36 -} sync_handshake_signal;
    1.37 -
    1.38  // notifyHandshake() - notify UI about sync handshaking process
    1.39  //
    1.40  //  parameters: