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.
|
#include <QCoreApplication>
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
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;
|
|
}
|