/[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 1154 by schoenebeck, Wed Apr 11 16:33:56 2007 UTC revision 1209 by persson, Sun May 27 13:54:24 2007 UTC
# Line 316  namespace DLS { Line 316  namespace DLS {
316              String SourceForm;       ///< <ISRF-ck>. 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 <i>Medium</i>.              String SourceForm;       ///< <ISRF-ck>. 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 <i>Medium</i>.
317              String Commissioned;     ///< <ICMS-ck>. Lists the name of the person or organization that commissioned the subject of the file, e.g., Pope Julian II.              String Commissioned;     ///< <ICMS-ck>. Lists the name of the person or organization that commissioned the subject of the file, e.g., Pope Julian II.
318              String Subject;          ///< <ISBJ-ck>. Describes the contents of the file.              String Subject;          ///< <ISBJ-ck>. Describes the contents of the file.
319              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.              bool UseFixedLengthStrings; ///< Deprecated. Use #FixedStringLengths instead.
320    
321                struct FixedStringLength {
322                    uint32_t chunkId;
323                    int length;
324                };
325                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.
326              Info(RIFF::List* list);              Info(RIFF::List* list);
327              virtual ~Info();              virtual ~Info();
328              virtual void UpdateChunks();              virtual void UpdateChunks();
# Line 325  namespace DLS { Line 330  namespace DLS {
330              RIFF::List* pResourceListChunk;              RIFF::List* pResourceListChunk;
331    
332              static void LoadString(uint32_t ChunkID, RIFF::List* lstINFO, String& s);              static void LoadString(uint32_t ChunkID, RIFF::List* lstINFO, String& s);
333              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);
334      };      };
335    
336      /** Abstract base class which encapsulates data structures which all DLS resources are able to provide. */      /** Abstract base class which encapsulates data structures which all DLS resources are able to provide. */
# Line 336  namespace DLS { Line 341  namespace DLS {
341    
342              Resource* GetParent() { return pParent; };              Resource* GetParent() { return pParent; };
343              virtual void UpdateChunks();              virtual void UpdateChunks();
344                void GenerateDLSID();
345          protected:          protected:
346              Resource* pParent;              Resource* pParent;
347              RIFF::List* pResourceList;              RIFF::List* pResourceList;

Legend:
Removed from v.1154  
changed lines
  Added in v.1209

  ViewVC Help
Powered by ViewVC