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 * |
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. |
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); |
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: |
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 |
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 |
/** |
/** |