summaryrefslogtreecommitdiff
path: root/src/win32/winService.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/winService.h')
-rw-r--r--src/win32/winService.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/win32/winService.h b/src/win32/winService.h
index e2bab90..4cb485a 100644
--- a/src/win32/winService.h
+++ b/src/win32/winService.h
@@ -36,6 +36,7 @@
#ifdef WIN_SERVICE
#include "../threadUtils.hpp"
+#include "../signalController.h"
class WinService
{
@@ -49,11 +50,11 @@ public:
static VOID WINAPI ctrlHandler(DWORD dwCtrl);
void reportStatus(DWORD dwCurrentState, DWORD dwWin32ExitCode);
- int handleCtrlSignal(const SigNum& sig, const std::string& msg);
+ int handleCtrlSignal(const int& sig, const std::string& msg);
private:
- WinService() : started_(false) {};
- ~WinService();
+ WinService() {};
+ ~WinService() {};
WinService(const WinService &w);
void operator=(const WinService &w);
@@ -61,8 +62,6 @@ private:
SERVICE_STATUS_HANDLE status_handle_;
};
-extern WinService& gWinService;
-
#endif
#endif