summaryrefslogtreecommitdiff
path: root/rockworkd/core.h
diff options
context:
space:
mode:
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