/[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 2702 by schoenebeck, Mon Dec 29 16:25:51 2014 UTC revision 2703 by schoenebeck, Tue Jan 13 15:28:37 2015 UTC
# Line 2  Line 2 
2   *                                                                         *   *                                                                         *
3   *   libgig - C++ cross-platform Gigasampler format file access library    *   *   libgig - C++ cross-platform Gigasampler format file access library    *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003-2014 by Christian Schoenebeck                      *   *   Copyright (C) 2003-2015 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  *
# Line 39  Line 39 
39  #include <string>  #include <string>
40  #include <list>  #include <list>
41  #include <map>  #include <map>
42    #include <set>
43  #include <iostream>  #include <iostream>
44    
45  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
# Line 322  namespace RIFF { Line 323  namespace RIFF {
323          protected:          protected:
324              typedef std::map<uint32_t, RIFF::Chunk*>  ChunkMap;              typedef std::map<uint32_t, RIFF::Chunk*>  ChunkMap;
325              typedef std::list<Chunk*>                 ChunkList;              typedef std::list<Chunk*>                 ChunkList;
326                typedef std::set<Chunk*>                  ChunkSet;
327    
328              uint32_t   ListType;              uint32_t   ListType;
329              ChunkList* pSubChunks;              ChunkList* pSubChunks;
# Line 383  namespace RIFF { Line 385  namespace RIFF {
385              friend class List;              friend class List;
386          private:          private:
387              stream_mode_t  Mode;              stream_mode_t  Mode;
388              ChunkList ResizedChunks; ///< All chunks which have been resized (enlarged / shortened).              ChunkSet ResizedChunks; ///< All chunks which have been resized (enlarged / shortened).
389    
390              void __openExistingFile(const String& path, uint32_t* FileType = NULL);              void __openExistingFile(const String& path, uint32_t* FileType = NULL);
391              unsigned long GetFileSize();              unsigned long GetFileSize();

Legend:
Removed from v.2702  
changed lines
  Added in v.2703

  ViewVC Help
Powered by ViewVC