- Timestamp:
- Dec 15, 2010, 6:53:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/libraries/network/MasterServerComm.h
r7765 r7768 35 35 #include <cstring> 36 36 #include <enet/enet.h> 37 #include "util/Singleton.h" 38 #include "core/OrxonoxClass.h" 39 #include "core/CoreIncludes.h" 40 #include "NetworkPrereqs.h" 37 41 38 42 // tolua_begin … … 40 44 { 41 45 class _NetworkExport MasterServerComm 46 // tolua_end 42 47 : public Singleton<MasterServerComm>, public OrxonoxClass 43 48 { // tolua_export … … 92 97 int pollForReply( int (*callback)( char*, ENetEvent* ), int delayms ); 93 98 94 /** \return an instance of WANDiscovery99 /** \return an instance of MasterServerComm 95 100 * 96 * Create and return an instance of WANDiscovery.101 * Create and return an instance of MasterServerComm. 97 102 */ 98 103 static MasterServerComm& getInstance() { return Singleton<MasterServerComm>::getInstance(); } // tolua_export … … 112 117 113 118 /** Singleton pointer */ 114 static MasterServerComm *singletonPtr_s;119 static MasterServerComm *singletonPtr_s; 115 120 }; // tolua_export 116 121
Note: See TracChangeset
for help on using the changeset viewer.