~ubuntu-branches/ubuntu/lucid/structure-synth/lucid

« back to all changes in this revision

Viewing changes to StructureSynth/JavaScriptSupport/JavaScriptParser.h

  • Committer: Bazaar Package Importer
  • Author(s): Miriam Ruiz
  • Date: 2009-04-13 13:28:45 UTC
  • Revision ID: james.westby@ubuntu.com-20090413132845-d7d42t4llxjxq0ez
Tags: upstream-0.9
ImportĀ upstreamĀ versionĀ 0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#pragma once
 
2
 
 
3
#include <QString>
 
4
#include "../../SyntopiaCore/GLEngine/EngineWidget.h"
 
5
 
 
6
 
 
7
namespace StructureSynth {
 
8
        namespace JavaScriptSupport {   
 
9
 
 
10
                /// Responsible for setting up the JavaScript environment and parsing
 
11
                class JavaScriptParser {
 
12
                public:
 
13
                        JavaScriptParser(SyntopiaCore::GLEngine::EngineWidget* engine3D);
 
14
                        ~JavaScriptParser();
 
15
                        
 
16
                        void parse(QString input);
 
17
                private:
 
18
                        SyntopiaCore::GLEngine::EngineWidget* engine3D;
 
19
                };
 
20
 
 
21
        }
 
22
}
 
23