/[svn]/libgig/trunk/src/RIFF.h
ViewVC logotype

Diff of /libgig/trunk/src/RIFF.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1095 by schoenebeck, Mon Mar 12 18:16:55 2007 UTC revision 1183 by persson, Sun May 13 10:34:29 2007 UTC
# Line 114  namespace RIFF { Line 114  namespace RIFF {
114          stream_end      = 3          stream_end      = 3
115      } stream_whence_t;      } stream_whence_t;
116    
117        typedef enum {
118            endian_little = 0,
119            endian_big    = 1,
120            endian_native = 2
121        } endian_t;
122    
123      /** Provides convenient methods to access data of RIFF chunks in general. */      /** Provides convenient methods to access data of RIFF chunks in general. */
124      class Chunk {      class Chunk {
125          public:          public:
# Line 224  namespace RIFF { Line 230  namespace RIFF {
230              Chunk*       AddSubChunk(uint32_t uiChunkID, uint uiBodySize);              Chunk*       AddSubChunk(uint32_t uiChunkID, uint uiBodySize);
231              List*        AddSubList(uint32_t uiListType);              List*        AddSubList(uint32_t uiListType);
232              void         DeleteSubChunk(Chunk* pSubChunk);              void         DeleteSubChunk(Chunk* pSubChunk);
233                void         MoveSubChunk(Chunk* pSrc, Chunk* pDst);
234              virtual ~List();              virtual ~List();
235          protected:          protected:
236              typedef std::map<uint32_t, RIFF::Chunk*>  ChunkMap;              typedef std::map<uint32_t, RIFF::Chunk*>  ChunkMap;
# Line 249  namespace RIFF { Line 256  namespace RIFF {
256      class File : public List {      class File : public List {
257          public:          public:
258              File(uint32_t FileType);              File(uint32_t FileType);
259                File(uint32_t FileType, endian_t Endian);
260              File(const String& path);              File(const String& path);
261              stream_mode_t GetMode();              stream_mode_t GetMode();
262              bool          SetMode(stream_mode_t NewMode);              bool          SetMode(stream_mode_t NewMode);

Legend:
Removed from v.1095  
changed lines
  Added in v.1183

  ViewVC Help
Powered by ViewVC