Files
qt-creator/src/libs/glsl/glslengine.h

30 lines
465 B
C
Raw Normal View History

#ifndef GLSLENGINE_H
#define GLSLENGINE_H
#include "glsl.h"
2010-11-11 15:05:42 +01:00
#include "glslmemorypool.h"
#include <QtCore/qstring.h>
#include <QtCore/qset.h>
namespace GLSL {
class GLSL_EXPORT Engine
{
public:
Engine();
~Engine();
const QString *identifier(const QString &s);
const QString *identifier(const char *s, int n);
2010-11-11 15:05:42 +01:00
MemoryPool *pool();
private:
QSet<QString> _identifiers;
2010-11-11 15:05:42 +01:00
MemoryPool _pool;
};
} // namespace GLSL
#endif // GLSLENGINE_H