summaryrefslogtreecommitdiff
path: root/rockworkd/core.h
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2016-02-11 23:55:16 +0100
committerAndrew Branson <andrew.branson@cern.ch>2016-02-11 23:55:16 +0100
commit29aaea2d80a9eb1715b6cddfac2d2aacf76358bd (patch)
tree012795b6bec16c72f38d33cff46324c9a0225868 /rockworkd/core.h
launchpad ~mzanetti/rockwork/trunk r87
Diffstat (limited to 'rockworkd/core.h')
-rw-r--r--rockworkd/core.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/rockworkd/core.h b/rockworkd/core.h
new file mode 100644
index 0000000..4791aac
--- /dev/null
+++ b/rockworkd/core.h
@@ -0,0 +1,33 @@
+#ifndef CORE_H
+#define CORE_H
+
+#include <QObject>
+#include <QTimer>
+
+class PebbleManager;
+class DBusInterface;
+class PlatformInterface;
+
+class Core : public QObject
+{
+ Q_OBJECT
+public:
+ static Core *instance();
+
+ PebbleManager* pebbleManager();
+ PlatformInterface* platform();
+
+ void init();
+private:
+ explicit Core(QObject *parent = 0);
+ static Core *s_instance;
+
+private slots:
+
+private:
+ PebbleManager *m_pebbleManager;
+ DBusInterface *m_dbusInterface;
+ PlatformInterface *m_platform;
+};
+
+#endif // CORE_H