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

#include <QHash>
#include <QString>

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

Pierre Kraemer's avatar
Pierre Kraemer committed
13
class MapHandler;
Pierre Kraemer's avatar
Pierre Kraemer committed
14

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

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

Pierre Kraemer's avatar
Pierre Kraemer committed
28 29 30
typedef QHash<QString, MapHandler*> MapHash;
typedef QHash<QString, CGoGN::Utils::VBO*> VBOHash;
typedef QHash<QString, CGoGN::Utils::GLSLShader*> ShaderHash;
Pierre Kraemer's avatar
Pierre Kraemer committed
31

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

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

#endif