Browse Source

some cleanup

pull/523/head
orignal 9 years ago
parent
commit
3639c86adf
  1. 3
      Daemon.h
  2. 11
      qt/i2pd_qt/DaemonQT.cpp

3
Daemon.h

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

11
qt/i2pd_qt/DaemonQT.cpp

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

Loading…
Cancel
Save