/[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 2581 by schoenebeck, Fri May 30 12:48:05 2014 UTC revision 2588 by schoenebeck, Sun Jun 1 14:44:38 2014 UTC
# Line 15  Line 15 
15  #define LS_INSTR_SCRIPT_PARSER_COMMON_H  #define LS_INSTR_SCRIPT_PARSER_COMMON_H
16    
17  #include "../common/global.h"  #include "../common/global.h"
18    #include <vector>
19    
20  namespace LinuxSampler {  namespace LinuxSampler {
21            
# Line 88  namespace LinuxSampler { Line 89  namespace LinuxSampler {
89      public:      public:
90          virtual VMFunction* functionByName(const String& name) = 0;          virtual VMFunction* functionByName(const String& name) = 0;
91      };      };
       
     class VMParserContext {  
     public:  
         virtual ~VMParserContext() {}  
     };  
92    
93      class VMExecContext {      class VMExecContext {
94      public:      public:
# Line 136  namespace LinuxSampler { Line 132  namespace LinuxSampler {
132          return "invalid";          return "invalid";
133      }      }
134    
135        class VMParserContext {
136        public:
137            virtual ~VMParserContext() {}
138            virtual std::vector<ParserIssue> issues() const = 0;
139            virtual std::vector<ParserIssue> errors() const = 0;
140            virtual std::vector<ParserIssue> warnings() const = 0;
141            virtual VMEventHandler* eventHandler(uint index) = 0;
142            virtual VMEventHandler* eventHandlerByName(const String& name) = 0;
143        };
144    
145  } // namespace LinuxSampler  } // namespace LinuxSampler
146    
147  #endif // LS_INSTR_SCRIPT_PARSER_COMMON_H  #endif // LS_INSTR_SCRIPT_PARSER_COMMON_H

Legend:
Removed from v.2581  
changed lines
  Added in v.2588

  ViewVC Help
Powered by ViewVC