--- libgig/trunk/src/DLS.h 2007/04/11 16:33:56 1154 +++ libgig/trunk/src/DLS.h 2007/05/12 12:39:25 1180 @@ -316,8 +316,12 @@ String SourceForm; ///< . Identifies the original form of the material that was digitized, such as record, sampling CD, TV sound track. This is not neccessarily the same as Medium. String Commissioned; ///< . Lists the name of the person or organization that commissioned the subject of the file, e.g., Pope Julian II. String Subject; ///< . Describes the contents of the file. - bool UseFixedLengthStrings; ///< Set this to true if the info strings should be stored with a fixed length format. This is used for gig files, not for ordinary DLS files. + struct FixedStringLength { + uint32_t chunkId; + int length; + }; + const FixedStringLength* FixedStringLengths; ///< List of IDs and string lengths for strings that should be stored in a fixed length format. This is used for gig files, not for ordinary DLS files. Info(RIFF::List* list); virtual ~Info(); virtual void UpdateChunks(); @@ -325,7 +329,7 @@ RIFF::List* pResourceListChunk; static void LoadString(uint32_t ChunkID, RIFF::List* lstINFO, String& s); - static void SaveString(uint32_t ChunkID, RIFF::List* lstINFO, const String& s, const String& sDefault, bool bUseFixedLengthStrings, int size); + void SaveString(uint32_t ChunkID, RIFF::List* lstINFO, const String& s, const String& sDefault); }; /** Abstract base class which encapsulates data structures which all DLS resources are able to provide. */