00001 #ifndef ENTRIESBLK_H 00002 #define ENTRIESBLK_H 00003 00004 class EntriesBlock { 00005 private: 00006 char *block; 00007 void setCount(int count); 00008 void getMetaEntry(int index, long *offset, short *size); 00009 void setMetaEntry(int index, long offset, short size); 00010 00011 public: 00012 EntriesBlock(const char *iBlock, long size); 00013 EntriesBlock(); 00014 ~EntriesBlock(); 00015 00016 int getCount(); 00017 int addEntry(const char *entry); 00018 const char *getEntry(int entryIndex); 00019 void removeEntry(int entryIndex); 00020 const char *getRawData(long *size); 00021 }; 00022 00023 00024 #endif