mirror of
https://github.com/ENSL/NS.git
synced 2024-11-24 05:21:16 +00:00
f44f16d59a
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@168 67975925-1194-0748-b3d5-c16f83f1a3a1
17 lines
No EOL
418 B
C++
17 lines
No EOL
418 B
C++
#ifndef UI_FACTORY_H
|
|
#define UI_FACTORY_H
|
|
|
|
#include "textrep/TRDescription.h"
|
|
class UIComponent;
|
|
class CSchemeManager;
|
|
|
|
class UIFactory
|
|
{
|
|
public:
|
|
// Uses name of entity to decided what type of UI component to build, uses the description to
|
|
// set all it's properties it recognizes
|
|
virtual UIComponent* BuildComponent(const TRDescription& inTextRep, CSchemeManager* inSchemeManager);
|
|
|
|
};
|
|
|
|
#endif |