servicehost.h

Go to the documentation of this file.
00001 
00024 #pragma once
00025 #include "../thirdparty/Service/Service.h"
00026 
00030 class ServiceHost : public Service
00031 {
00032 public:
00034         static Service* getService();
00035 
00036 protected:
00043         ServiceHost(LPTSTR name, LPTSTR desc) : Service(name, desc) {}
00044 
00045         virtual bool onInstall();
00046         virtual bool onUninstall();
00048         virtual bool onInit();
00050         virtual void onStop();
00052     virtual void run();
00053 
00054 private:
00056         static bool keepRunning;
00057 };

Generated on Mon Jun 5 10:20:42 2006 for Intelligence.kdevelop by  doxygen 1.4.6