types.h 652 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1 2 3 4
#ifndef _TYPES_H_
#define _TYPES_H_

#include <QHash>
5
#include <QMap>
Pierre Kraemer's avatar
Pierre Kraemer committed
6 7
#include <QString>

8
class Window;
Pierre Kraemer's avatar
Pierre Kraemer committed
9
class Plugin;
Pierre Kraemer's avatar
Pierre Kraemer committed
10 11
class View;
class Camera;
12
class Texture;
Pierre Kraemer's avatar
Pierre Kraemer committed
13

14
class MapHandlerGen;
Pierre Kraemer's avatar
Pierre Kraemer committed
15

Pierre Kraemer's avatar
Pierre Kraemer committed
16 17 18 19 20 21 22 23
namespace CGoGN
{
	namespace Utils
	{
		class VBO;
		class GLSLShader;
	}
}
Pierre Kraemer's avatar
Pierre Kraemer committed
24

Pierre Kraemer's avatar
Pierre Kraemer committed
25
typedef QHash<QString, Plugin*> PluginHash;
Pierre Kraemer's avatar
Pierre Kraemer committed
26 27 28
typedef QHash<QString, View*> ViewHash;
typedef QHash<QString, Camera*> CameraHash;

29 30
typedef QHash<QString, MapHandlerGen*> MapHash;
typedef QMap<std::string, CGoGN::Utils::VBO*> VBOHash;
Pierre Kraemer's avatar
Pierre Kraemer committed
31
typedef QHash<QString, CGoGN::Utils::GLSLShader*> ShaderHash;
Pierre Kraemer's avatar
Pierre Kraemer committed
32

33 34
typedef QHash<QString, Texture*> TextureHash;

Pierre Kraemer's avatar
Pierre Kraemer committed
35 36
namespace Qt
{
Pierre Kraemer's avatar
Pierre Kraemer committed
37 38 39 40
	extern int UserRoleType;
}

#endif