25 #ifndef __SYNFIG_FILECONTAINERZIP_H
26 #define __SYNFIG_FILECONTAINERZIP_H
53 virtual size_t read(
void *buffer,
size_t size);
83 size(0), header_offset(0), crc32(0), time(0) { }
86 typedef std::map< std::string, FileInfo > FileMap;
91 bool file_reading_whole_container_;
94 FileMap::iterator file_;
98 static unsigned int crc32(
unsigned int previous_crc,
const void *buffer,
size_t size);
99 static std::string encode_history(
const HistoryRecord &history_record);
100 static HistoryRecord decode_history(
const std::string &comment);
101 static void read_history(std::list<HistoryRecord> &list, FILE *f,
file_size_t size);
110 virtual void close();
114 static std::list<HistoryRecord> read_history(
const std::string &container_filename);
134 virtual size_t file_read(
void *buffer,
size_t size);
135 virtual size_t file_write(
const void *buffer,
size_t size);