Index: sources/cloudsync/CloudSyncController.h =================================================================== diff -u -r9d5e23f6277a0b3c8c643413e6ff0257695420d3 -rb043c5b9919a9a435e50907772ec8346823b05d6 --- sources/cloudsync/CloudSyncController.h (.../CloudSyncController.h) (revision 9d5e23f6277a0b3c8c643413e6ff0257695420d3) +++ sources/cloudsync/CloudSyncController.h (.../CloudSyncController.h) (revision b043c5b9919a9a435e50907772ec8346823b05d6) @@ -130,6 +130,9 @@ eError_OutFileEmpty = 971, // Out file has changed from CS2UI but the content is empty. eError_NotRegistered = 972, // avoid sending any message other than the device registration, when device is not registered. + + eError_LogNameNoParam = 973, // the received Log Name not provided + eError_LogNameEmpty = 974, // the received Log Name is empty }; typedef QHash MessageList; @@ -219,15 +222,17 @@ private slots: void onWatchFileChange (const QString &vFile); void onActionReceive (GuiActionType vAction, const QVariantList &vData); - void onPendingTxr (const QString &vFileName ); + void onPendingTxr (const QString &vFileName ); + void onPendingLog (const QString &vFileName, const QString vChecksum ); void onInitComplete (); void onPOSTCloudSync (bool vPass ); void onCryptSetupMount (bool vPass ); void onFactoryReset (bool vPass ); signals: void didInitComplete (); - void didTxCodeReceive (const QString &vTxCode); + void didTxCodeReceive (const QString &vTxCode ); + void didLogUpload (const QString &vFileName ); void didRegisterStart (bool vOK ); void didRegisterDone (bool vOK ); void didCloudSyncStatus (bool vReady ); @@ -308,4 +313,8 @@ void sendPendingTxr ( const QString &vFileName ); // eMessageID_TxReport bool sendTxCodeDisplay ( const Message &vMessage ); // eMessageID_TxCodeDisplay + // pending Treatment log + void sendPendingLog (const QString &vFileName , const QString vChecksum); // eMessageID_SendLogUpload + bool rcvdPendingLog (const Message &vMessage ); // eMessageID_SendLogUpload + };