27 #ifndef _CEGUITplWindowFactoryRegisterer_h_ 28 #define _CEGUITplWindowFactoryRegisterer_h_ 30 #include "CEGUI/FactoryRegisterer.h" 31 #include "CEGUI/WindowFactoryManager.h" 42 class TplWindowFactoryRegisterer :
public FactoryRegisterer
66 WindowFactoryManager::getSingleton().removeFactory(
d_type);
73 WindowFactoryManager::addWindowType<T>();
80 return WindowFactoryManager::getSingleton().isFactoryPresent(
d_type);
87 #endif // end of guard _CEGUITplWindowFactoryRegisterer_h_ Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
const String d_type
describes the type this class registers a factory for.
Definition: cegui/include/CEGUI/FactoryRegisterer.h:63
TplWindowFactoryRegisterer()
Constructor.
Definition: cegui/include/CEGUI/TplWindowFactoryRegisterer.h:58
void unregisterFactory() const
Perform unregistration (removal) of the factory for whichever type this class registers a factory for...
Definition: cegui/include/CEGUI/TplWindowFactoryRegisterer.h:64
FactoryRegisterer(const String &type)
Constructor.
Definition: FactoryRegisterer.cpp:34
void doFactoryAdd() const
Function to do the actual addition of a factory to the CEGUI system.
Definition: cegui/include/CEGUI/TplWindowFactoryRegisterer.h:71
bool isAlreadyRegistered() const
Function to check if factory for our type is already registered.
Definition: cegui/include/CEGUI/TplWindowFactoryRegisterer.h:78