350 |
virtual int suspensionTimeMicroseconds() const = 0; |
virtual int suspensionTimeMicroseconds() const = 0; |
351 |
}; |
}; |
352 |
|
|
353 |
|
/** @brief Script callback for a certain event. |
354 |
|
* |
355 |
|
* Represents a script callback for a certain event, i.e. |
356 |
|
* "on note ... end on". |
357 |
|
*/ |
358 |
class VMEventHandler { |
class VMEventHandler { |
359 |
public: |
public: |
360 |
|
/** |
361 |
|
* Name of the event handler which identifies its purpose. For example |
362 |
|
* for a "on note ... end on" script callback block, the name "note" |
363 |
|
* would be returned here. |
364 |
|
*/ |
365 |
virtual String eventHandlerName() const = 0; |
virtual String eventHandlerName() const = 0; |
366 |
|
|
367 |
|
/** |
368 |
|
* Whether or not the event handler makes any use of so called |
369 |
|
* "polyphonic" variables. |
370 |
|
*/ |
371 |
|
virtual bool isPolyphonic() const = 0; |
372 |
}; |
}; |
373 |
|
|
374 |
struct ParserIssue { |
struct ParserIssue { |