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

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

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

revision 3940 by schoenebeck, Fri Jun 18 13:47:46 2021 UTC revision 3941 by schoenebeck, Fri Jun 18 14:06:20 2021 UTC
# Line 574  namespace DLS { Line 574  namespace DLS {
574              Sample*     GetNextSample() LIBGIG_DEPRECATED_API("Use GetSample() instead.");              Sample*     GetNextSample() LIBGIG_DEPRECATED_API("Use GetSample() instead.");
575              Sample*     AddSample();              Sample*     AddSample();
576              void        DeleteSample(Sample* pSample);              void        DeleteSample(Sample* pSample);
577              Instrument* GetFirstInstrument(); ///< Returns a pointer to the first <i>Instrument</i> object of the file, <i>NULL</i> otherwise.              Instrument* GetInstrument(size_t index);
578              Instrument* GetNextInstrument();  ///< Returns a pointer to the next <i>Instrument</i> object of the file, <i>NULL</i> otherwise.              Instrument* GetFirstInstrument() LIBGIG_DEPRECATED_API("Use GetInstrument() instead.");
579                Instrument* GetNextInstrument() LIBGIG_DEPRECATED_API("Use GetInstrument() instead.");
580              Instrument* AddInstrument();              Instrument* AddInstrument();
581              void        DeleteInstrument(Instrument* pInstrument);              void        DeleteInstrument(Instrument* pInstrument);
582              RIFF::File* GetRiffFile();              RIFF::File* GetRiffFile();
# Line 586  namespace DLS { Line 587  namespace DLS {
587              virtual ~File();              virtual ~File();
588          protected:          protected:
589              typedef std::vector<Sample*>     SampleList;              typedef std::vector<Sample*>     SampleList;
590              typedef std::list<Instrument*> InstrumentList;              typedef std::vector<Instrument*> InstrumentList;
591    
592              RIFF::File*              pRIFF;              RIFF::File*              pRIFF;
593              std::list<RIFF::File*>   ExtensionFiles; //FIXME: These should automatically be freed, since implicitly allocated.              std::list<RIFF::File*>   ExtensionFiles; //FIXME: These should automatically be freed, since implicitly allocated.

Legend:
Removed from v.3940  
changed lines
  Added in v.3941

  ViewVC Help
Powered by ViewVC