summaryrefslogtreecommitdiff
path: root/rockworkd/core.h
blob: 4791aacfe589e1d82bd67a2f02ab215bae628da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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