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); |
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 |
|
|