27 #ifndef _CEGUIFactoryModule_h_
28 #define _CEGUIFactoryModule_h_
30 #include "CEGUI/Base.h"
31 #include "CEGUI/String.h"
35 # pragma warning(push)
36 # pragma warning(disable : 4251)
42 class FactoryRegisterer;
44 class CEGUIEXPORT FactoryModule :
45 public AllocatedObject<FactoryModule>
49 virtual ~FactoryModule();
51 void registerFactory(
const String& type_name);
53 uint registerAllFactories();
55 void unregisterFactory(
const String& type_name);
57 uint unregisterAllFactories();
61 typedef std::vector<FactoryRegisterer*
62 CEGUI_VECTOR_ALLOC(FactoryRegisterer*)> FactoryRegistry;
64 FactoryRegistry d_registry;
73 #endif // end of guard _CEGUIFactoryModule_h_