40 lines
709 B
C++
40 lines
709 B
C++
#ifndef SYSTEMGUI_H
|
|
#define SYSTEMGUI_H
|
|
|
|
#include <QObject>
|
|
#include "GuiMain.h"
|
|
#include "SMSClient.h"
|
|
#include "ProgramSettings.h"
|
|
#include "SystemTrayManager.h"
|
|
#include "Sprinkler.h"
|
|
|
|
class CSystemGui : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit CSystemGui(QObject *parent = 0);
|
|
~CSystemGui();
|
|
|
|
void Start();
|
|
|
|
void ShowSettingsWindowRequest();
|
|
void QuitApplicationRequest();
|
|
int RespawnMainWindowRequest();
|
|
int TrayIconLeftClick();
|
|
|
|
private:
|
|
CGuiMain *mGui;
|
|
CSMSClient *mSMSClient;
|
|
CProgramSettings *mProgramSettings;
|
|
CSettings mSettings;
|
|
CSystemTrayManager *mSysTrayMgr;
|
|
CSprinkler *mSprinklers;
|
|
|
|
|
|
signals:
|
|
|
|
public slots:
|
|
};
|
|
|
|
#endif // SYSTEMGUI_H
|