00001 /* MAINATINER: Bernard CURENT_EDITOR: Bernard */ 00002 00003 #ifndef _APPLICATION_SERVER_H 00004 #define _APPLICATION_SERVER_H 00005 00006 #include "application.h" 00007 #include "game_server.h" 00008 00009 #include "globals_server.h" 00010 00011 #include "commander_server.h" 00012 00013 class ApplicationServer : public Application 00014 { 00015 public: 00016 ApplicationServer(); 00017 ~ApplicationServer(); 00018 00019 void init(); 00020 00021 void run(); 00022 00023 void clean(); 00024 00025 GameServer& getGame(); 00026 virtual Game* getGameCommon(); 00027 00028 // Server commander 00029 Commander& getCommander(); 00030 00031 private: 00032 00041 ApplicationServer(ApplicationServer ©); 00042 00043 GameServer mGameServer; 00044 CommanderServer mCommanderServer; 00045 }; 00046 00047 #endif // _APPLICATION_SERVER_H
1.4.5