48 lines
1.1 KiB
C++
48 lines
1.1 KiB
C++
#ifndef MASTERCTRL_H
|
|
#define MASTERCTRL_H
|
|
|
|
#include "GlobalDefine.h"
|
|
#include "DeadboltDevice.h"
|
|
#include "AVReceiverDevice.h"
|
|
#include "VoipMsSMSClient.h"
|
|
#include "SystemTrayManager.h"
|
|
#include "SettingsWindow.h"
|
|
#include "ProgramSettings.h"
|
|
#include "NetworkDevicesMgr.h"
|
|
//#include "AppIconWidget.h"
|
|
|
|
class CMasterCtrl : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
CMasterCtrl();
|
|
~CMasterCtrl();
|
|
|
|
void Start(void);
|
|
// CDeadboltDevice *mDeadBoltDevice;
|
|
CAVReceiverDevice *mAVReceiverDevice;
|
|
CVoipMsSMSClient *mVoipMsSMSClient;
|
|
CSystemTrayManager *mSystemTrayManager;
|
|
CSettingsWindow *mSettingsWindow;
|
|
CProgramSettings mSettingsManager;
|
|
CNetworkDevicesMgr mNetworkDevicesManager;
|
|
// CAppIconWidget mAppWidget;
|
|
|
|
|
|
|
|
|
|
unsigned int QuitApplicationRequest();
|
|
unsigned int ShowSettingsWindowRequest();
|
|
unsigned int FetchDIDsRequest(QString Username, QString Password);
|
|
unsigned int SaveSettings(CSettings *Settings);
|
|
|
|
unsigned int SettingsWindowClosed();
|
|
|
|
|
|
private:
|
|
|
|
CSettings mMasterCtrlSettings;
|
|
};
|
|
|
|
#endif // MASTERCTRL_H
|