forked from qt-creator/qt-creator
Get rid of glsl.g.in and start working on the semantic actions.
This commit is contained in:
25
src/libs/glsl/glslengine.h
Normal file
25
src/libs/glsl/glslengine.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef GLSLENGINE_H
|
||||
#define GLSLENGINE_H
|
||||
|
||||
#include "glsl.h"
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
namespace GLSL {
|
||||
|
||||
class GLSL_EXPORT Engine
|
||||
{
|
||||
public:
|
||||
Engine();
|
||||
~Engine();
|
||||
|
||||
const std::string *identifier(const std::string &s);
|
||||
const std::string *identifier(const char *s, int n);
|
||||
|
||||
private:
|
||||
std::set<std::string> _identifiers;
|
||||
};
|
||||
|
||||
} // namespace GLSL
|
||||
|
||||
#endif // GLSLENGINE_H
|
||||
Reference in New Issue
Block a user