types.h 635 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 9
class Plugin;
class Scene;
Pierre Kraemer's avatar
Pierre Kraemer committed
10 11
class View;
class Camera;
12
class Context;
Pierre Kraemer's avatar
Pierre Kraemer committed
13

Pierre Kraemer's avatar
Pierre Kraemer committed
14
class MapHandler;
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 26
typedef QHash<QString, Plugin*> PluginHash;
typedef QHash<QString, Scene*> SceneHash;
Pierre Kraemer's avatar
Pierre Kraemer committed
27 28 29
typedef QHash<QString, View*> ViewHash;
typedef QHash<QString, Camera*> CameraHash;

Pierre Kraemer's avatar
Pierre Kraemer committed
30 31 32
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
33

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