/[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 797 by schoenebeck, Sun Sep 25 13:40:37 2005 UTC revision 798 by schoenebeck, Thu Nov 3 23:49:11 2005 UTC
# Line 78  namespace RIFF { Line 78  namespace RIFF {
78    
79      /** Whether file stream is open in read or in read/write mode. */      /** Whether file stream is open in read or in read/write mode. */
80      typedef enum {      typedef enum {
81          stream_mode_read,          stream_mode_read       = 0,
82          stream_mode_read_write          stream_mode_read_write = 1,
83            stream_mode_closed     = 2
84      } stream_mode_t;      } stream_mode_t;
85    
86      /** Current state of the file stream. */      /** Current state of the file stream. */
# Line 229  namespace RIFF { Line 230  namespace RIFF {
230      /** Parses arbitrary RIFF files and provides together with it's base classes convenient methods to walk through the RIFF tree. */      /** Parses arbitrary RIFF files and provides together with it's base classes convenient methods to walk through the RIFF tree. */
231      class File : public List {      class File : public List {
232          public:          public:
233              File();              File(uint32_t FileType);
234              File(const String& path);              File(const String& path);
235              stream_mode_t GetMode();              stream_mode_t GetMode();
236              bool          SetMode(stream_mode_t NewMode);              bool          SetMode(stream_mode_t NewMode);
# Line 257  namespace RIFF { Line 258  namespace RIFF {
258    
259              unsigned long GetFileSize();              unsigned long GetFileSize();
260              void ResizeFile(unsigned long ulNewSize);              void ResizeFile(unsigned long ulNewSize);
261                #if POSIX
262                unsigned long __GetFileSize(int hFile);
263                #else
264                unsigned long __GetFileSize(FILE* hFile);
265                #endif
266      };      };
267    
268      /** Will be thrown whenever an error occurs while parsing a RIFF file. */      /** Will be thrown whenever an error occurs while parsing a RIFF file. */

Legend:
Removed from v.797  
changed lines
  Added in v.798

  ViewVC Help
Powered by ViewVC