/[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 3246 by schoenebeck, Sun May 28 22:22:56 2017 UTC revision 3277 by schoenebeck, Mon Jun 5 18:40:18 2017 UTC
# Line 377  namespace LinuxSampler { Line 377  namespace LinuxSampler {
377          InstrumentScriptVM* m_vm;          InstrumentScriptVM* m_vm;
378      };      };
379    
380        class InstrumentScriptVMFunction_change_play_pos : public VMEmptyResultFunction {
381        public:
382            InstrumentScriptVMFunction_change_play_pos(InstrumentScriptVM* parent);
383            int minRequiredArgs() const { return 2; }
384            int maxAllowedArgs() const { return 2; }
385            bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR; }
386            ExprType_t argType(int iArg) const { return INT_EXPR; }
387            VMFnResult* exec(VMFnArgs* args);
388        protected:
389            InstrumentScriptVM* m_vm;
390        };
391    
392      class InstrumentScriptVMFunction_event_status : public VMIntResultFunction {      class InstrumentScriptVMFunction_event_status : public VMIntResultFunction {
393      public:      public:
394          InstrumentScriptVMFunction_event_status(InstrumentScriptVM* parent);          InstrumentScriptVMFunction_event_status(InstrumentScriptVM* parent);
# Line 407  namespace LinuxSampler { Line 419  namespace LinuxSampler {
419      protected:      protected:
420          InstrumentScriptVM* m_vm;          InstrumentScriptVM* m_vm;
421      };      };
422    
423        class InstrumentScriptVMFunction_abort : public VMEmptyResultFunction {
424        public:
425            InstrumentScriptVMFunction_abort(InstrumentScriptVM* parent);
426            int minRequiredArgs() const { return 1; }
427            int maxAllowedArgs() const { return 1; }
428            bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR; }
429            ExprType_t argType(int iArg) const { return INT_EXPR; }
430            VMFnResult* exec(VMFnArgs* args) OVERRIDE;
431        protected:
432            InstrumentScriptVM* m_vm;
433        };
434    
435  } // namespace LinuxSampler  } // namespace LinuxSampler
436    

Legend:
Removed from v.3246  
changed lines
  Added in v.3277

  ViewVC Help
Powered by ViewVC