/[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 2619 by schoenebeck, Wed Jun 11 13:24:32 2014 UTC revision 2645 by schoenebeck, Wed Jun 18 00:14:57 2014 UTC
# Line 82  namespace LinuxSampler { Line 82  namespace LinuxSampler {
82      public:      public:
83          virtual int evalIntElement(uint i) = 0;          virtual int evalIntElement(uint i) = 0;
84          virtual void assignIntElement(uint i, int value) = 0;          virtual void assignIntElement(uint i, int value) = 0;
85            ExprType_t exprType() const { return INT_ARR_EXPR; }
86      };      };
87    
88      class VMFnArgs {      class VMFnArgs {
# Line 349  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.2619  
changed lines
  Added in v.2645

  ViewVC Help
Powered by ViewVC