/[svn]/linuxsampler/trunk/src/engines/common/InstrumentScriptVMFunctions.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/InstrumentScriptVMFunctions.h

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

revision 2598 by schoenebeck, Fri Jun 6 12:38:54 2014 UTC revision 2600 by schoenebeck, Sat Jun 7 00:16:03 2014 UTC
# Line 29  namespace LinuxSampler { Line 29  namespace LinuxSampler {
29          InstrumentScriptVM* m_vm;          InstrumentScriptVM* m_vm;
30      };      };
31    
32        class InstrumentScriptVMFunction_set_controller : public VMIntResultFunction {
33        public:
34            InstrumentScriptVMFunction_set_controller(InstrumentScriptVM* parent);
35            int minRequiredArgs() const { return 2; }
36            int maxAllowedArgs() const { return 2; }
37            bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;}
38            ExprType_t argType(int iArg) const { return INT_EXPR; }
39            VMFnResult* exec(VMFnArgs* args);
40        protected:
41            InstrumentScriptVM* m_vm;
42        };
43    
44      class InstrumentScriptVMFunction_ignore_event : public VMEmptyResultFunction {      class InstrumentScriptVMFunction_ignore_event : public VMEmptyResultFunction {
45      public:      public:
46          InstrumentScriptVMFunction_ignore_event(InstrumentScriptVM* parent);          InstrumentScriptVMFunction_ignore_event(InstrumentScriptVM* parent);

Legend:
Removed from v.2598  
changed lines
  Added in v.2600

  ViewVC Help
Powered by ViewVC