Index: sources/cloudsync/CloudSyncController.cpp =================================================================== diff -u -r1bf8c894c5cc5ea6d62af0662fcf5a18e1a06459 -r72a583bfbba42f8563fe20da150ddf479f204d16 --- sources/cloudsync/CloudSyncController.cpp (.../CloudSyncController.cpp) (revision 1bf8c894c5cc5ea6d62af0662fcf5a18e1a06459) +++ sources/cloudsync/CloudSyncController.cpp (.../CloudSyncController.cpp) (revision 72a583bfbba42f8563fe20da150ddf479f204d16) @@ -25,8 +25,7 @@ #include "TreatmentLog.h" #include "crc.h" -//TODO testing the CloudSync and Application execution order -// SINGLETON_DISABLE(CloudSyncController) +SINGLETON_DISABLE(CloudSyncController) /*! * \brief CloudSyncController::CloudSyncController @@ -97,10 +96,9 @@ */ void CloudSyncController::initConnections() { - //TODO testing the CloudSync and Application execution order - // if ( ! gDisableCloudSyncFailStop ) { - // SINGLETON_DISABLE_CONNECT(didPOSTCloudSync) - // } + if ( ! gDisableCloudSyncFailStop ) { + SINGLETON_DISABLE_CONNECT(didPOSTCloudSync) + } connect(&_ApplicationController , SIGNAL(didPOSTCloudSync(bool)), this , SLOT( onPOSTCloudSync(bool))); @@ -197,9 +195,9 @@ * \details This the handler for the ApplicationController::didPOSTCloudSync(bool) * \param vPass - will be true if the POST test of CloudSync passed and it is running. */ -void CloudSyncController::onPOSTCloudSync(bool) +void CloudSyncController::onPOSTCloudSync(bool vPass) { - //TOD _postPass = vPass; + _postPass = vPass; } /*! @@ -275,9 +273,6 @@ _DeviceController.doAddWatch(_date_out_File, false); // since the buff files will be deleted on each power cycle, when the out buf is created it means the CloudSync is running. // we emit the ApplicationController to check the post.log for the CloudSync status check. - _postPass = true; - testReady(); - return ok; lErr: @@ -623,6 +618,7 @@ { bool ok = true; QString inpBuff = "%1,%2,%3,%4"; + inpBuff = inpBuff .arg( _secSinceEpoch ) .arg( Types::safeIncrement(_seq))