Changeset 1534 for code/trunk/src/network/Synchronisable.h
- Timestamp:
- Jun 4, 2008, 8:53:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/Synchronisable.h
r1505 r1534 27 27 */ 28 28 29 //30 // C++ Interface: synchronisable31 //32 // Description:33 //34 //35 // Author: Oliver Scheuss, (C) 200736 //37 // Copyright: See COPYING file that comes with this distribution38 //39 //40 29 #ifndef _Synchronisable_H__ 41 30 #define _Synchronisable_H__ … … 45 34 #include <list> 46 35 #include "core/OrxonoxClass.h" 36 #include "NetworkCallback.h" 47 37 48 38 namespace network … … 65 55 void *var; 66 56 variableType type; 57 NetworkCallbackBase *callback; 67 58 }SYNCVAR; 68 59 … … 81 72 int classID; 82 73 83 void registerVar(void *var, int size, variableType t, int mode=1 );74 void registerVar(void *var, int size, variableType t, int mode=1, NetworkCallbackBase *cb=0); 84 75 // syncData getData(); 85 76 syncData getData(unsigned char *mem, int mode=0x0);
Note: See TracChangeset
for help on using the changeset viewer.