diff options
author | reggie@fedora.(none) <> | 2005-08-03 16:20:27 -0500 |
---|---|---|
committer | reggie@fedora.(none) <> | 2005-08-03 16:20:27 -0500 |
commit | 8cb3bd41c82ca01ee400185c536cf6c91c167b94 (patch) | |
tree | a10e64e5b763e2ddba496e00d9d2aed9cb64d580 /server-tools/instance-manager/WindowsService.h | |
parent | f3de5d6b69dfcd7025b8ce2c1fb5dd61efc6af66 (diff) | |
download | mariadb-git-8cb3bd41c82ca01ee400185c536cf6c91c167b94.tar.gz |
alot of formatting changes that came out of JimW's review
Diffstat (limited to 'server-tools/instance-manager/WindowsService.h')
-rwxr-xr-x | server-tools/instance-manager/WindowsService.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/server-tools/instance-manager/WindowsService.h b/server-tools/instance-manager/WindowsService.h index b266bbca533..e4616278166 100755 --- a/server-tools/instance-manager/WindowsService.h +++ b/server-tools/instance-manager/WindowsService.h @@ -3,7 +3,7 @@ class WindowsService { protected: - bool inited; + bool inited; const char *serviceName; const char *displayName; const char *username; @@ -15,29 +15,29 @@ protected: bool debugging; public: - WindowsService(void); - ~WindowsService(void); + WindowsService(void); + ~WindowsService(void); - BOOL Install(); - BOOL Remove(); - BOOL Init(); + BOOL Install(); + BOOL Remove(); + BOOL Init(); BOOL IsInstalled(); void SetAcceptedControls(DWORD acceptedControls); void Debug(bool debugFlag) { debugging = debugFlag; } public: - static void WINAPI ServiceMain(DWORD argc, LPTSTR * argv); + static void WINAPI ServiceMain(DWORD argc, LPTSTR *argv); static void WINAPI ControlHandler(DWORD CtrlType); protected: - virtual void Run() = 0; + virtual void Run()= 0; virtual void Stop() {} virtual void Shutdown() {} virtual void Pause() {} virtual void Continue() {} virtual void Log(const char *msg) {} - BOOL ReportStatus(DWORD currentStatus, DWORD waitHint=3000, DWORD dwError=0); + BOOL ReportStatus(DWORD currentStatus, DWORD waitHint= 3000, DWORD dwError=0); void HandleControlCode(DWORD opcode); void RegisterAndRun(DWORD argc, LPTSTR *argv); }; |