#ifndef CCHALET_H #define CCHALET_H #include "ChaletGui.h" #include #include #include "ChaletData.h" class CChaletMasterCtrlInterface; class CChalet : public QObject { Q_OBJECT public: explicit CChalet(CChaletGui *ChaletGuiPtr); ~CChalet(); CChaletGui *mChaletGui; CChaletMasterCtrlInterface *mNetworkInterface; QTimer *mChaletPollTimer; int Start(); int ChaletStatusReceived(CChaletMainStatus Status); int WiFiToggleButtonPressed(bool RequestedState); int InverterToggleButtonPressed(bool RequestedState); int DoHarakiriButtonClicked(bool Verified); int RebootCPUButtonPressed(); signals: public slots: void ChaletPollTimerExpired(); }; #endif // CCHALET_H