src/sync_app.h
author Krista Bennett <krista@pep-project.org>
Tue, 01 Aug 2017 16:40:24 +0200
branchmessage-2.0
changeset 1979 3d0a778d035a
parent 1785 6471e6e427b3
permissions -rw-r--r--
Changed name to ENGINE-214 for JIRA tracking - please use that branch instead.
     1 //
     2 //  sync_app.h
     3 //  pEpEngine
     4 //
     5 //  Created by Dirk Zimmermann on 16.05.17.
     6 //  Copyright © 2017 Edouard Tisserant. All rights reserved.
     7 //
     8 
     9 #ifndef sync_app_h
    10 #define sync_app_h
    11 
    12 // TODO add this to generated code.
    13 typedef enum _sync_handshake_signal {
    14     SYNC_NOTIFY_UNDEFINED = 0,
    15 
    16     // request show handshake dialog
    17     SYNC_NOTIFY_INIT_ADD_OUR_DEVICE,
    18     SYNC_NOTIFY_INIT_ADD_OTHER_DEVICE,
    19     SYNC_NOTIFY_INIT_FORM_GROUP,
    20     SYNC_NOTIFY_INIT_MOVE_OUR_DEVICE,
    21 
    22     // handshake process timed out
    23     SYNC_NOTIFY_TIMEOUT,
    24 
    25     // handshake accepted by user
    26     SYNC_NOTIFY_ACCEPTED_DEVICE_ADDED,
    27     SYNC_NOTIFY_ACCEPTED_GROUP_CREATED,
    28     SYNC_NOTIFY_ACCEPTED_DEVICE_MOVED,
    29 
    30     // handshake dialog must be closed
    31     SYNC_NOTIFY_OVERTAKEN
    32 } sync_handshake_signal;
    33 
    34 #endif /* sync_app_h */