Index: sources/cloudsync/CloudSyncController.h =================================================================== diff -u -raf8d98b36b427e2b5f4d6659fcf3b58ee79eab6a -r015a7cea7842d589a11325a989436be342b801ef --- sources/cloudsync/CloudSyncController.h (.../CloudSyncController.h) (revision af8d98b36b427e2b5f4d6659fcf3b58ee79eab6a) +++ sources/cloudsync/CloudSyncController.h (.../CloudSyncController.h) (revision 015a7cea7842d589a11325a989436be342b801ef) @@ -75,6 +75,7 @@ QString _deviceInfoDG = ""; QString _deviceInfoUI = ""; + bool _postPass = false; enum Errors_Enum { // CS : 900 - 949 @@ -196,15 +197,21 @@ bool init(QThread &vThread); void quit(); + void doRegister (); + private slots: void onWatchFileChange (const QString &vFile); void onActionReceive (GuiActionType vAction, const QVariantList &vData); void onTxPending (const QString &vFileName ); void onInitComplete (); + void onPOSTCloudSync (bool vPass ); signals: void didInitComplete (); void didTxCodeReceive (const QString &vTxCode); + void didRegisterStart (bool vOK ); + void didRegisterDone (bool vOK ); + void didCloudSyncStatus (bool vReady ); private: void initConnections(); @@ -253,8 +260,8 @@ // device registration request bool sendDeviceRegister (); // eMessageID_DeviceRegister - bool testDeviceRegister (); // eMessageID_DeviceRegister bool isRegistered (); + void testReady(); // device state report bool saveDeviceState (const QVariantList &vData);