mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-17 21:26:04 +00: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();
|
|
}
|