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/library.cpp

20 lines
306 B
C++
Raw Normal View History

2023-04-08 15:06:36 +02:00
#include <QCoreApplication>
#include <iostream>
using namespace std;
extern int debugLevel;
void debug(QString text, int level)
{
if (level & debugLevel)
{
cout << text.toStdString() << endl;
}
}
void signal_handler(int signal)
{
cout << "Received signal " << signal << endl;
}