Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ClntService.h

Go to the documentation of this file.
00001 /*                                                                           
00002  * Dibbler - a portable DHCPv6 
00003  *                                                                           
00004  * authors: Tomasz Mrugalski <thomson@klub.com.pl>                           
00005  *          Marek Senderski <msend@o2.pl>                                    
00006  *          win2k version by <sob@hisoftware.cz>
00007  *
00008  * $Id: ClntService.h,v 1.2 2005/07/24 16:00:03 thomson Exp $
00009  *                                                                           
00010  * Released under GNU GPL v2 licence                                
00011  *
00012  */
00013 
00014 #ifndef CLNTSERVICE_H
00015 #define CLNTSERVICE_H
00016 
00017 #include "winservice.h"
00018 
00019 class TClntService;
00020 extern TClntService StaticService;
00021 
00022 class TClntService : public TWinService
00023 {
00024 public:
00025         TClntService(void);
00026         void Run();
00027     void OnStop();
00028     void OnShutdown();
00029     bool CheckAndInstall();
00030         ~TClntService(void);
00031     EServiceState ParseStandardArgs(int argc, char* argv[]);
00032         void setState(EServiceState status);
00033     static TClntService * getHandle() { return &StaticService; }
00034 
00035 private:
00036         EServiceState status;
00037         
00038 };
00039 
00040 #endif
00041 /*
00042  * $Log: ClntService.h,v $
00043  * Revision 1.2  2005/07/24 16:00:03  thomson
00044  * Port WinNT/2000 related changes.
00045  *
00046  * Revision 1.1  2005/07/23 14:33:22  thomson
00047  * Port for win2k/NT added.
00048  *
00049  */
00050  
00051  
00052 

Generated on Sun Aug 7 22:47:15 2005 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1