26 lines
415 B
C++
26 lines
415 B
C++
#ifndef HIVECORE_H
|
|
#define HIVECORE_H
|
|
|
|
#include <QObject>
|
|
|
|
class JsonRPCServer;
|
|
class DeviceManager;
|
|
|
|
class HiveCore : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
static HiveCore* instance();
|
|
|
|
DeviceManager* deviceManager() const;
|
|
|
|
private:
|
|
explicit HiveCore(QObject *parent = 0);
|
|
static HiveCore *s_instance;
|
|
|
|
JsonRPCServer *m_jsonServer;
|
|
DeviceManager *m_deviceManager;
|
|
};
|
|
|
|
#endif // HIVECORE_H
|