34 lines
696 B
C++
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;
|
|
}
|