--- libgig/trunk/src/gig.h 2021/06/17 10:29:54 3936 +++ libgig/trunk/src/gig.h 2021/06/19 08:09:58 3948 @@ -1245,7 +1245,7 @@ private: File* pFile; RIFF::List* pList; ///< 'RTIS' list chunk - std::list* pScripts; + std::vector* pScripts; }; /** @brief Provides access to a Gigasampler/GigaStudio instrument. @@ -1447,15 +1447,15 @@ Sample* AddSample(); size_t CountSamples(); void DeleteSample(Sample* pSample); - Instrument* GetFirstInstrument(); ///< Returns a pointer to the first Instrument object of the file, NULL otherwise. - Instrument* GetNextInstrument(); ///< Returns a pointer to the next Instrument object of the file, NULL otherwise. - Instrument* GetInstrument(uint index, progress_t* pProgress = NULL); + Instrument* GetFirstInstrument() LIBGIG_DEPRECATED_API("Use GetInstrument() instead."); + Instrument* GetNextInstrument() LIBGIG_DEPRECATED_API("Use GetInstrument() instead."); + Instrument* GetInstrument(size_t index, progress_t* pProgress = NULL); Instrument* AddInstrument(); Instrument* AddDuplicateInstrument(const Instrument* orig); size_t CountInstruments(); void DeleteInstrument(Instrument* pInstrument); - Group* GetFirstGroup(); ///< Returns a pointer to the first Group object of the file, NULL otherwise. - Group* GetNextGroup(); ///< Returns a pointer to the next Group object of the file, NULL otherwise. + Group* GetFirstGroup() LIBGIG_DEPRECATED_API("Use GetGroup() instead."); + Group* GetNextGroup() LIBGIG_DEPRECATED_API("Use GetGroup() instead."); Group* GetGroup(size_t index); Group* GetGroup(String name); Group* AddGroup();