1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

some cleanup

This commit is contained in:
orignal 2016-06-17 12:04:05 -04:00
parent 4fc80fd366
commit 3639c86adf
2 changed files with 1 additions and 13 deletions

View File

@ -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)

View File

@ -7,17 +7,6 @@
#include <QMutexLocker> #include <QMutexLocker>
#include <QThread> #include <QThread>
namespace i2p
{
namespace util
{
bool DaemonQT::init(int argc, char* argv[])
{
return Daemon_Singleton::init(argc, argv);
}
}
}
namespace i2p namespace i2p
{ {
namespace qt namespace qt