mirror of https://github.com/nymea/nymea.git
36 lines
563 B
C++
36 lines
563 B
C++
#ifndef HIVECLIENTCORE_H
|
|
#define HIVECLIENTCORE_H
|
|
|
|
#include <QObject>
|
|
#include <QQmlApplicationEngine>
|
|
|
|
#include "client.h"
|
|
#include "settings.h"
|
|
|
|
class HiveClientCore : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit HiveClientCore(QObject *parent = 0);
|
|
|
|
private:
|
|
Client *m_client;
|
|
//Settings *m_settings;
|
|
|
|
QQmlApplicationEngine *m_engine;
|
|
QObject *topLevel;
|
|
|
|
int m_id;
|
|
|
|
private slots:
|
|
void onConnected();
|
|
void sendSomething(QString deviceName, QString method);
|
|
|
|
signals:
|
|
|
|
public slots:
|
|
|
|
};
|
|
|
|
#endif // HIVECLIENTCORE_H
|