1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__zigbeemanager/main.cpp

34 lines
696 B
C++

#include "main.h"
using namespace std;
extern ZigateBackend zigateBkd;
int debugLevel = DEBUG | INFO | WARNING | ERROR;
//ResponseList responseList;
SerialManager serialManager;
QMap <QString, BackEnds> backends;
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QCoreApplication::setOrganizationName("zigbeemanager");
QCoreApplication::setApplicationName("zigbeemanager");
initBackends();
return a.exec();
}
bool initBackends()
{
/* foreach (backend, backends)
{
temp = new ResponseProperties();
temp->manager = &defaultManager;
responseListIndex.insert(var, temp) ;
}*/
zigateBkd.initBackend();
return false;
}