"L. Spiro Engine"
|
00001 00016 #ifndef __LSG_SHADERPARSERWRAPPER_H__ 00017 #define __LSG_SHADERPARSERWRAPPER_H__ 00018 00019 #include "../LSGGraphicsLib.h" 00020 #include "LSGShaderSyntaxNodes.h" // Not alphabetical; must be included before LSGShaderParser.h. 00021 #include "../ShaderLangGen/LSGShaderParser.h" 00022 #include "LSGShaderLanguageParser.h" 00023 00024 namespace lsg { 00025 00032 class CShaderParserWrapper : public lsg::CShaderParser { 00033 public : 00034 // == Various constructors. 00035 LSE_CALLCTOR CShaderParserWrapper( class CShaderLexer * _pslLexer, CShaderLanguageParser::LSG_SHADER_TYPES _stShaderType ); 00036 00037 00038 // == Functions. 00046 CShaderLanguageParser & LSE_CALL GetContainer(); 00047 00048 00049 protected : 00050 // == Members. 00054 CShaderLanguageParser m_slpContainer; 00055 00056 00057 00058 private : 00059 typedef lsg::CShaderParser Parent; 00060 }; 00061 00062 } // namespace lsg 00063 00064 #endif // __LSG_SHADERPARSERWRAPPER_H__