Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2005, 5:49:48 PM (18 years ago)
Author:
patrick
Message:

network: changed the synchronizeable interface, since the data synchronizeables, more debug output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/synchronizeable.h

    r5650 r5804  
    1111
    1212class Synchronizeable : virtual public BaseObject
    13 {
    14         public:
     13  {
     14  public:
    1515
    16                    Synchronizeable();
    17                    ~Synchronizeable();
     16    Synchronizeable(const char* name);
     17    ~Synchronizeable();
    1818
    19  virtual void      writeBytes(byte* data, int length);
    20  virtual int       readBytes(byte* data);
    21  virtual void      writeDebug();
    22  virtual void      readDebug();
     19    virtual void      writeBytes(byte* data, int length);
     20    virtual int       readBytes(byte* data);
     21    virtual void      writeDebug();
     22    virtual void      readDebug();
    2323
     24    inline const char* getName() { return this->name; }
    2425
    25         private:
     26  private:
    2627
    27  int               uniqueID;
     28    int               uniqueID;
     29    const char*       name;
    2830
    29 };
    30 
     31  };
    3132#endif /* _SYNCHRONIZEABLE_H */
Note: See TracChangeset for help on using the changeset viewer.