/[svn]/libgig/trunk/src/gig.h
ViewVC logotype

Diff of /libgig/trunk/src/gig.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3657 by schoenebeck, Sat Dec 14 17:10:57 2019 UTC revision 3723 by schoenebeck, Wed Jan 22 15:48:32 2020 UTC
# Line 2  Line 2 
2   *                                                                         *   *                                                                         *
3   *   libgig - C++ cross-platform Gigasampler format file access library    *   *   libgig - C++ cross-platform Gigasampler format file access library    *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003-2019 by Christian Schoenebeck                      *   *   Copyright (C) 2003-2020 by Christian Schoenebeck                      *
6   *                              <cuse@users.sourceforge.net>               *   *                              <cuse@users.sourceforge.net>               *
7   *                                                                         *   *                                                                         *
8   *   This library is free software; you can redistribute it and/or modify  *   *   This library is free software; you can redistribute it and/or modify  *
# Line 953  namespace gig { Line 953  namespace gig {
953              DimensionRegion* GetDimensionRegionByBit(const std::map<dimension_t,int>& DimCase);              DimensionRegion* GetDimensionRegionByBit(const std::map<dimension_t,int>& DimCase);
954             ~Region();             ~Region();
955              friend class Instrument;              friend class Instrument;
956            private:
957                bool UsesAnyGigFormatExtension() const;
958      };      };
959    
960      /** @brief Abstract base class for all MIDI rules.      /** @brief Abstract base class for all MIDI rules.
# Line 1188  namespace gig { Line 1190  namespace gig {
1190              Encoding_t     Encoding;    ///< Format the script's source code text is encoded with.              Encoding_t     Encoding;    ///< Format the script's source code text is encoded with.
1191              Language_t     Language;    ///< Programming language and dialect the script is written in.              Language_t     Language;    ///< Programming language and dialect the script is written in.
1192              bool           Bypass;      ///< Global bypass: if enabled, this script shall not be executed by the sampler for any instrument.              bool           Bypass;      ///< Global bypass: if enabled, this script shall not be executed by the sampler for any instrument.
1193                uint8_t        Uuid[16];    ///< Persistent Universally Unique Identifier of this script, which remains identical after any changes to this script.
1194    
1195              String GetScriptAsText();              String GetScriptAsText();
1196              void   SetScriptAsText(const String& text);              void   SetScriptAsText(const String& text);
# Line 1200  namespace gig { Line 1203  namespace gig {
1203              void UpdateChunks(progress_t* pProgress) OVERRIDE;              void UpdateChunks(progress_t* pProgress) OVERRIDE;
1204              void DeleteChunks() OVERRIDE;              void DeleteChunks() OVERRIDE;
1205              void RemoveAllScriptReferences();              void RemoveAllScriptReferences();
1206                void GenerateUuid();
1207              friend class ScriptGroup;              friend class ScriptGroup;
1208              friend class Instrument;              friend class Instrument;
1209          private:          private:
# Line 1326  namespace gig { Line 1330  namespace gig {
1330              MidiRule** pMidiRules;              MidiRule** pMidiRules;
1331              std::vector<_ScriptPooolEntry> scriptPoolFileOffsets;              std::vector<_ScriptPooolEntry> scriptPoolFileOffsets;
1332              std::vector<_ScriptPooolRef>* pScriptRefs;              std::vector<_ScriptPooolRef>* pScriptRefs;
1333    
1334                bool UsesAnyGigFormatExtension() const;
1335      };      };
1336    
1337      /** @brief Group of Gigasampler samples      /** @brief Group of Gigasampler samples
# Line 1472  namespace gig { Line 1478  namespace gig {
1478              std::list<Group*>::iterator GroupsIterator;              std::list<Group*>::iterator GroupsIterator;
1479              bool                        bAutoLoad;              bool                        bAutoLoad;
1480              std::list<ScriptGroup*>*    pScriptGroups;              std::list<ScriptGroup*>*    pScriptGroups;
1481    
1482                bool UsesAnyGigFormatExtension() const;
1483      };      };
1484    
1485      /**      /**

Legend:
Removed from v.3657  
changed lines
  Added in v.3723

  ViewVC Help
Powered by ViewVC