/[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 3927 by schoenebeck, Tue Jun 15 10:16:40 2021 UTC revision 3928 by schoenebeck, Tue Jun 15 11:38:38 2021 UTC
# Line 568  namespace DLS { Line 568  namespace DLS {
568              File(RIFF::File* pRIFF);              File(RIFF::File* pRIFF);
569              String      GetFileName();              String      GetFileName();
570              void        SetFileName(const String& name);              void        SetFileName(const String& name);
571              Sample*     GetFirstSample();     ///< Returns a pointer to the first <i>Sample</i> object of the file, <i>NULL</i> otherwise.              Sample*     GetSample(size_t index);
572              Sample*     GetNextSample();      ///< Returns a pointer to the next <i>Sample</i> object of the file, <i>NULL</i> otherwise.              Sample*     GetFirstSample() LIBGIG_DEPRECATED("Use GetSample() instead.");
573                Sample*     GetNextSample() LIBGIG_DEPRECATED("Use GetSample() instead.");
574              Sample*     AddSample();              Sample*     AddSample();
575              void        DeleteSample(Sample* pSample);              void        DeleteSample(Sample* pSample);
576              Instrument* GetFirstInstrument(); ///< Returns a pointer to the first <i>Instrument</i> object of the file, <i>NULL</i> otherwise.              Instrument* GetFirstInstrument(); ///< Returns a pointer to the first <i>Instrument</i> object of the file, <i>NULL</i> otherwise.
# Line 583  namespace DLS { Line 584  namespace DLS {
584              virtual void Save(progress_t* pProgress = NULL);              virtual void Save(progress_t* pProgress = NULL);
585              virtual ~File();              virtual ~File();
586          protected:          protected:
587              typedef std::list<Sample*>     SampleList;              typedef std::vector<Sample*>     SampleList;
588              typedef std::list<Instrument*> InstrumentList;              typedef std::list<Instrument*> InstrumentList;
589    
590              RIFF::File*              pRIFF;              RIFF::File*              pRIFF;

Legend:
Removed from v.3927  
changed lines
  Added in v.3928

  ViewVC Help
Powered by ViewVC