/[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 55 by schoenebeck, Tue Apr 27 09:06:07 2004 UTC revision 384 by schoenebeck, Thu Feb 17 02:22:26 2005 UTC
# Line 2  Line 2 
2   *                                                                         *   *                                                                         *
3   *   libgig - C++ cross-platform Gigasampler format file loader library    *   *   libgig - C++ cross-platform Gigasampler format file loader library    *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Christian Schoenebeck                     *   *   Copyright (C) 2003-2005 by Christian Schoenebeck                      *
6   *                               <cuse@users.sourceforge.net>              *   *                              <cuse@users.sourceforge.net>               *
7   *                                                                         *   *                                                                         *
8   *   This library is free software; you can redistribute it and/or modify  *   *   This library is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 122  namespace RIFF { Line 122  namespace RIFF {
122              uint32_t       ReadUint32();              uint32_t       ReadUint32();
123              void*          LoadChunkData();     ///< Load the whole chunk body in memory (on success returns a pointer to the data in RAM, else NULL).              void*          LoadChunkData();     ///< Load the whole chunk body in memory (on success returns a pointer to the data in RAM, else NULL).
124              void           ReleaseChunkData();  ///< Free loaded chunk body data from memory (RAM).              void           ReleaseChunkData();  ///< Free loaded chunk body data from memory (RAM).
125             ~Chunk();              virtual ~Chunk();
126          protected:          protected:
127              uint32_t      ChunkID;              uint32_t      ChunkID;
128              uint32_t      ChunkSize;            /* in bytes */              uint32_t      ChunkSize;            /* in bytes */
# Line 193  namespace RIFF { Line 193  namespace RIFF {
193              unsigned int CountSubChunks(uint32_t ChunkID);              unsigned int CountSubChunks(uint32_t ChunkID);
194              unsigned int CountSubLists();              unsigned int CountSubLists();
195              unsigned int CountSubLists(uint32_t ListType);              unsigned int CountSubLists(uint32_t ListType);
196             ~List();              virtual ~List();
197          protected:          protected:
198              typedef std::map<uint32_t, RIFF::Chunk*>  ChunkMap;              typedef std::map<uint32_t, RIFF::Chunk*>  ChunkMap;
199              typedef std::list<Chunk*>                 ChunkList;              typedef std::list<Chunk*>                 ChunkList;
# Line 213  namespace RIFF { Line 213  namespace RIFF {
213      class File : public List {      class File : public List {
214          public:          public:
215              File(const String& path);              File(const String& path);
216             ~File();              virtual ~File();
217          private:          private:
218              unsigned long GetFileSize();              unsigned long GetFileSize();
219      };      };

Legend:
Removed from v.55  
changed lines
  Added in v.384

  ViewVC Help
Powered by ViewVC