Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9444 in orxonox.OLD for branches/proxy/src/lib/network/zip.h


Ignore:
Timestamp:
Jul 25, 2006, 8:15:01 AM (18 years ago)
Author:
bensch
Message:

some cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/zip.h

    r8623 r9444  
    2121
    2222//! A class for compressing/uncompressing packes.
    23 class Zip 
     23class Zip
    2424{
    2525  public:
     
    2727    /** @returns a Pointer to the only object of this Class */
    2828    inline static Zip* getInstance(void) { if (!singletonRef) singletonRef = new Zip();  return singletonRef; };
    29    
     29
    3030    int loadDictionary( std::string name );
    3131    int zip( byte * from, int fromLength, byte * to, int maxLength, int dict = 0 );
    3232    int unZip( byte * from, int fromLength, byte * to, int maxLength );
    33    
     33
    3434    int getDictCount(){ return dicts.size(); }
    3535
     
    3737    Zip();
    3838    static Zip* singletonRef;
    39    
     39
    4040    std::vector<DictionaryEntry> dicts;
    4141};
    4242
    43 #endif /* _PROTO_SINGLETON_H */
     43#endif /* _ZIP_H */
Note: See TracChangeset for help on using the changeset viewer.