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. |
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; |