mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
DaemonQT
This commit is contained in:
parent
70e502e55d
commit
b0e3339370
4 changed files with 46 additions and 32 deletions
13
Daemon.h
13
Daemon.h
|
@ -3,14 +3,6 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#if defined(QT_GUI)
|
||||
|
||||
#elif defined(_WIN32)
|
||||
|
||||
#else
|
||||
|
||||
#endif
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
namespace util
|
||||
|
@ -49,6 +41,11 @@ namespace i2p
|
|||
static DaemonQT instance;
|
||||
return instance;
|
||||
}
|
||||
|
||||
bool init(int argc, char* argv[]);
|
||||
bool start();
|
||||
bool stop();
|
||||
void run ();
|
||||
};
|
||||
|
||||
#elif defined(_WIN32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue