Add interface to request the pid of the running instance.

This commit is contained in:
sledgehammer999
2013-09-15 00:10:01 +03:00
committed by Vladimir Golovnev (Glassez)
parent da561ccd38
commit 89b82778e6
4 changed files with 66 additions and 0 deletions

View File

@@ -88,6 +88,9 @@ public:
// Obsolete:
void initialize(bool dummy = true)
{ isRunning(); Q_UNUSED(dummy) }
#ifdef Q_OS_WIN
ulong getRunningPid();
#endif
public Q_SLOTS:
bool sendMessage(const QString &message, int timeout = 5000);