46 lines
709 B
C++
46 lines
709 B
C++
#ifndef MAIN_H
|
|
#define MAIN_H
|
|
|
|
#include <QSettings>
|
|
#include <cstring>
|
|
#include <stdio.h>
|
|
#include <cstdio>
|
|
#include <QApplication>
|
|
#include <QStringBuilder>
|
|
#include <QString>
|
|
#include <QCoreApplication>
|
|
#include <csignal>
|
|
#include <iostream>
|
|
#include <unistd.h>
|
|
//#include <string>
|
|
//#include <QtEndian>
|
|
#include <QDebug>
|
|
//#include "library.h"
|
|
#include "zigbeeManagerinterface.h"
|
|
|
|
class ZigbeeManagerInterface;
|
|
|
|
class ZigbeeManager : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ZigbeeManager();
|
|
|
|
private:
|
|
ZigbeeManagerInterface *zigbeeManagerInterface;
|
|
bool loadPlugins();
|
|
|
|
};
|
|
|
|
class Plugins
|
|
{
|
|
public:
|
|
QString name;
|
|
QString device;
|
|
QVariant plugin;
|
|
};
|
|
|
|
|
|
#endif // MAIN_H
|