Index: sources/cloudsync/CloudSyncController.h =================================================================== diff -u -r54c4136d95375116e6daf23b7d4179159cf13d0c -r44550c670a421059754a70e2ce517e81f29c2e5d --- sources/cloudsync/CloudSyncController.h (.../CloudSyncController.h) (revision 54c4136d95375116e6daf23b7d4179159cf13d0c) +++ sources/cloudsync/CloudSyncController.h (.../CloudSyncController.h) (revision 44550c670a421059754a70e2ce517e81f29c2e5d) @@ -104,6 +104,8 @@ eError_TxCodeEmpty = 520, // the received Tx Code is empty eError_OutFileEmpty = 521, // Out file has changed from CS2UI but the content is empty. + + eError_NotRegistered = 522, // avoid sending any message other than the device regitration, when device is not registered. }; typedef QHash MessageList; @@ -239,6 +241,7 @@ // device registration request bool sendDeviceRegister (); // eMessageID_DeviceRegister bool testDeviceRegister (); // eMessageID_DeviceRegister + bool isRegistered (); // device state report bool saveDeviceState (const QVariantList &vData);