mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 16:10:33 +03:00
22 lines
313 B
C++
22 lines
313 B
C++
|
#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();
|
||
|
}
|