Index: sources/ApplicationController.h =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -rc73feffa73c7fe073a7a7581144f5806dfc91beb --- sources/ApplicationController.h (.../ApplicationController.h) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/ApplicationController.h (.../ApplicationController.h) (revision c73feffa73c7fe073a7a7581144f5806dfc91beb) @@ -73,13 +73,14 @@ void initThread(QThread &vThread); void quitThread(); + void initSetttings(); + void keepAlive(); void createFakeSequencedLongMessage (QVariantList &vData, const int vFakeDataLen); void createFakeSeqAtBeginLongMessage(QVariantList &vData, const int vFakeDataLen); - void settingsInit(); - + void postDoneRequest(); void versionsRequest(bool vPass); private slots: // Should be private for thread safety and is connected internally. @@ -105,7 +106,6 @@ void onFailedTransmit(Sequence seq); - void onSettingsInit(); void onSettingsUpdate(); void onPOSTWiFi (bool vPass); @@ -148,6 +148,20 @@ * \details This signal will be emitted when the settings are read and ready to be used. */ void didSettingsDone (); + /*! + * \brief didPOSTPass + * \details This signal will be emitted when UI is done with the POST and will let other layers to know the result. + * As an example the Manufacturing will not start if the POST filed since it needs POST info for hte Encrypted partition. + * \param vPass - true if passed. + */ + void didPOSTPass (bool vPass); + /*! + * \brief didPOSTInformationReady + * \details this signall will be emitted in case the UI POST is successfull, BEFORE the didPOSTDone. + * \note note that this will be called before the didPOSTDone, to give the opportunity to the observer to update the required information before being notified for the POST result, + * so in case there are things to be done on POST success, the data is ready. + */ + void didPOSTInformationReady(const QString &vMacEthernet, const QString &vMacWreless, const QString &vMacBluetooth); // Device Signal/Slots DEVICE_APP_BRIDGE_DEFINITION_LIST @@ -157,7 +171,6 @@ ACTION_RECEIVE_MODEL_BRIDGE_DEFINITIONS ACTION_RECEIVE_PRIVATE_SLOT_NOEMIT(UIPostFinalResultHDRequestData) { - onPOSTDone(_post.isDone()); emit didActionReceive(vData); }