327 |
InstrumentScriptVM* m_vm; |
InstrumentScriptVM* m_vm; |
328 |
}; |
}; |
329 |
|
|
330 |
|
class InstrumentScriptVMFunction_change_note : public VMEmptyResultFunction { |
331 |
|
public: |
332 |
|
InstrumentScriptVMFunction_change_note(InstrumentScriptVM* parent); |
333 |
|
int minRequiredArgs() const { return 2; } |
334 |
|
int maxAllowedArgs() const { return 2; } |
335 |
|
bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;} |
336 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
337 |
|
VMFnResult* exec(VMFnArgs* args); |
338 |
|
protected: |
339 |
|
InstrumentScriptVM* m_vm; |
340 |
|
}; |
341 |
|
|
342 |
|
class InstrumentScriptVMFunction_change_velo : public VMEmptyResultFunction { |
343 |
|
public: |
344 |
|
InstrumentScriptVMFunction_change_velo(InstrumentScriptVM* parent); |
345 |
|
int minRequiredArgs() const { return 2; } |
346 |
|
int maxAllowedArgs() const { return 2; } |
347 |
|
bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;} |
348 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
349 |
|
VMFnResult* exec(VMFnArgs* args); |
350 |
|
protected: |
351 |
|
InstrumentScriptVM* m_vm; |
352 |
|
}; |
353 |
|
|
354 |
class InstrumentScriptVMFunction_event_status : public VMIntResultFunction { |
class InstrumentScriptVMFunction_event_status : public VMIntResultFunction { |
355 |
public: |
public: |
356 |
InstrumentScriptVMFunction_event_status(InstrumentScriptVM* parent); |
InstrumentScriptVMFunction_event_status(InstrumentScriptVM* parent); |