summaryrefslogtreecommitdiff
path: root/saltoqd/systemmanager.h
blob: 9f7a00553b40c94b0bf0a510b7866a74bac4e439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef SYSTEMMANAGER_H
#define SYSTEMMANAGER_H

#include "toqmanager.h"

class SystemManager : public QObject, public ToqManager::EndpointHandler
{
	Q_OBJECT
public:
	explicit SystemManager(ToqManager *toq);

	void handleMessage(const ToqConnection::Message &msg) Q_DECL_OVERRIDE;

private:
	void handleGetTimeMessage(const ToqConnection::Message &msg);
	void handleSilenceMessage(const ToqConnection::Message &msg);

private:
	ToqManager *_toq;
};

#endif // SYSTEMMANAGER_H