/[svn]/linuxsampler/trunk/src/scriptvm/common.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/common.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2630 by schoenebeck, Fri Jun 13 15:01:06 2014 UTC revision 2645 by schoenebeck, Wed Jun 18 00:14:57 2014 UTC
# Line 350  namespace LinuxSampler { Line 350  namespace LinuxSampler {
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 {

Legend:
Removed from v.2630  
changed lines
  Added in v.2645

  ViewVC Help
Powered by ViewVC