diff options
-rw-r--r-- | lib/server/Daemon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/server/Daemon.h b/lib/server/Daemon.h index 3f4b3086..e399a0ef 100644 --- a/lib/server/Daemon.h +++ b/lib/server/Daemon.h @@ -68,6 +68,10 @@ public: virtual void EnterChild(); static void SetProcessTitle(const char *format, ...); + void SetRunInForeground(bool foreground) + { + mRunInForeground = foreground; + } protected: virtual void SetupInInitialProcess(); |