/[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 3950 by schoenebeck, Sat Jun 19 09:02:55 2021 UTC revision 3961 by schoenebeck, Sat Jun 19 11:01:40 2021 UTC
# Line 1231  namespace gig { Line 1231  namespace gig {
1231          public:          public:
1232              String   Name; ///< Name of this script group. For example to be displayed in an instrument editor.              String   Name; ///< Name of this script group. For example to be displayed in an instrument editor.
1233    
1234              Script*  GetScript(uint index);              Script*  GetScript(size_t index);
1235              Script*  AddScript();              Script*  AddScript();
1236              void     DeleteScript(Script* pScript);              void     DeleteScript(Script* pScript);
1237          protected:          protected:
# Line 1303  namespace gig { Line 1303  namespace gig {
1303              MidiRuleAlternator*  AddMidiRuleAlternator();              MidiRuleAlternator*  AddMidiRuleAlternator();
1304              void      DeleteMidiRule(int i);              void      DeleteMidiRule(int i);
1305              // real-time instrument script methods              // real-time instrument script methods
1306              Script*   GetScriptOfSlot(uint index);              Script*   GetScriptOfSlot(size_t index);
1307              void      AddScriptSlot(Script* pScript, bool bypass = false);              void      AddScriptSlot(Script* pScript, bool bypass = false);
1308              void      SwapScriptSlots(uint index1, uint index2);              void      SwapScriptSlots(size_t index1, size_t index2);
1309              void      RemoveScriptSlot(uint index);              void      RemoveScriptSlot(size_t index);
1310              void      RemoveScript(Script* pScript);              void      RemoveScript(Script* pScript);
1311              uint      ScriptSlotCount() const;              size_t    ScriptSlotCount() const;
1312              bool      IsScriptSlotBypassed(uint index);              bool      IsScriptSlotBypassed(size_t index);
1313              void      SetScriptSlotBypassed(uint index, bool bBypass);              void      SetScriptSlotBypassed(size_t index, bool bBypass);
1314              bool      IsScriptPatchVariableSet(int slot, String variable);              bool      IsScriptPatchVariableSet(size_t slot, String variable);
1315              std::map<String,String> GetScriptPatchVariables(int slot);              std::map<String,String> GetScriptPatchVariables(size_t slot);
1316              String    GetScriptPatchVariable(int slot, String variable);              String    GetScriptPatchVariable(size_t slot, String variable);
1317              void      SetScriptPatchVariable(int slot, String variable, String value);              void      SetScriptPatchVariable(size_t slot, String variable, String value);
1318              void      UnsetScriptPatchVariable(int slot = -1, String variable = "");              void      UnsetScriptPatchVariable(int slot = -1, String variable = "");
1319          protected:          protected:
1320              Region*   RegionKeyTable[128]; ///< fast lookup for the corresponding Region of a MIDI key              Region*   RegionKeyTable[128]; ///< fast lookup for the corresponding Region of a MIDI key
# Line 1338  namespace gig { Line 1338  namespace gig {
1338              };              };
1339              typedef std::array<uint8_t,16> _UUID;              typedef std::array<uint8_t,16> _UUID;
1340              typedef std::map<String,String> _PatchVars;              typedef std::map<String,String> _PatchVars;
1341              typedef std::map<int,_PatchVars> _VarsBySlot;              typedef std::map<size_t,_PatchVars> _VarsBySlot;
1342              typedef std::map<_UUID,_VarsBySlot> _VarsByScript;              typedef std::map<_UUID,_VarsBySlot> _VarsByScript;
1343              MidiRule** pMidiRules;              MidiRule** pMidiRules;
1344              std::vector<_ScriptPooolEntry> scriptPoolFileOffsets;              std::vector<_ScriptPooolEntry> scriptPoolFileOffsets;

Legend:
Removed from v.3950  
changed lines
  Added in v.3961

  ViewVC Help
Powered by ViewVC