27 #ifndef _CEGUITplWRFactoryRegisterer_h_ 28 #define _CEGUITplWRFactoryRegisterer_h_ 30 #include "CEGUI/FactoryRegisterer.h" 31 #include "CEGUI/WindowRendererManager.h" 42 class TplWRFactoryRegisterer :
public FactoryRegisterer
66 WindowRendererManager::getSingleton().removeFactory(
d_type);
73 WindowRendererManager::addWindowRendererType<T>();
80 return WindowRendererManager::getSingleton().isFactoryPresent(
d_type);
87 #endif // end of guard _CEGUITplWRFactoryRegisterer_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
TplWRFactoryRegisterer()
Constructor.
Definition: cegui/include/CEGUI/TplWRFactoryRegisterer.h:58
bool isAlreadyRegistered() const
Function to check if factory for our type is already registered.
Definition: cegui/include/CEGUI/TplWRFactoryRegisterer.h:78
void unregisterFactory() const
Perform unregistration (removal) of the factory for whichever type this class registers a factory for...
Definition: cegui/include/CEGUI/TplWRFactoryRegisterer.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/TplWRFactoryRegisterer.h:71