diff options
Diffstat (limited to 'cpp/include/Ice/Service.h')
-rwxr-xr-x | cpp/include/Ice/Service.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/include/Ice/Service.h b/cpp/include/Ice/Service.h index 932b8066f73..d4826994b57 100755 --- a/cpp/include/Ice/Service.h +++ b/cpp/include/Ice/Service.h @@ -57,6 +57,7 @@ protected: private: + bool checkService(int, char*[], int&); int installService(const std::string&, int, char*[]); int uninstallService(const std::string&, int, char*[]); int startService(const std::string&, int, char*[]); @@ -73,6 +74,13 @@ private: SERVICE_STATUS_HANDLE _statusHandle; SERVICE_STATUS _status; std::vector<std::string> _serviceArgs; + +#else + +private: + + bool checkDaemon(int, char*[], int&); + #endif private: |