i2pd/qt/i2pd_qt/main.cpp

22 lines
313 B
C++
Raw Normal View History

2016-06-14 00:52:17 +00:00
#include "mainwindow.h"
#include <QApplication>
#include <stdlib.h>
#include "../../Daemon.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
if (Daemon.init(argc, argv))
{
if (Daemon.start())
Daemon.run ();
Daemon.stop();
}
return a.exec();
}