mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-07-15 14:35:13 +02:00
.apk builds. untested
This commit is contained in:
parent
28c2ca8bf8
commit
58b058ab3a
15 changed files with 314 additions and 10 deletions
21
qt/i2pd_qt/main.cpp
Normal file
21
qt/i2pd_qt/main.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
#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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue