|
|
@ -33,6 +33,7 @@ namespace i2p |
|
|
|
|
|
|
|
|
|
|
|
#if defined(QT_GUI_LIB) // check if QT
|
|
|
|
#if defined(QT_GUI_LIB) // check if QT
|
|
|
|
#define Daemon i2p::util::DaemonQT::Instance() |
|
|
|
#define Daemon i2p::util::DaemonQT::Instance() |
|
|
|
|
|
|
|
// dummy, invoked from RunQT
|
|
|
|
class DaemonQT: public i2p::util::Daemon_Singleton |
|
|
|
class DaemonQT: public i2p::util::Daemon_Singleton |
|
|
|
{ |
|
|
|
{ |
|
|
|
public: |
|
|
|
public: |
|
|
@ -42,8 +43,6 @@ namespace i2p |
|
|
|
static DaemonQT instance; |
|
|
|
static DaemonQT instance; |
|
|
|
return instance; |
|
|
|
return instance; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool init(int argc, char* argv[]); |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
#elif defined(_WIN32) |
|
|
|
#elif defined(_WIN32) |
|
|
|