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