Crazy Eddie's GUI System
0.8.7
|
27 #ifndef _CEGUITplWRFactoryRegisterer_h_
28 #define _CEGUITplWRFactoryRegisterer_h_
30 #include "CEGUI/FactoryRegisterer.h"
31 #include "CEGUI/WindowRendererManager.h"
42 class TplWRFactoryRegisterer :
public FactoryRegisterer
59 FactoryRegisterer(T::TypeName)
66 WindowRendererManager::getSingleton().removeFactory(d_type);
73 WindowRendererManager::addWindowRendererType<T>();
80 return WindowRendererManager::getSingleton().isFactoryPresent(d_type);
87 #endif // end of guard _CEGUITplWRFactoryRegisterer_h_
void unregisterFactory() const
Perform unregistration (removal) of the factory for whichever type this class registers a factory for...
Definition: TplWRFactoryRegisterer.h:88
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
TplWRFactoryRegisterer()
Constructor.
Definition: TplWRFactoryRegisterer.h:82
bool isAlreadyRegistered() const
Function to check if factory for our type is already registered.
Definition: TplWRFactoryRegisterer.h:102
void doFactoryAdd() const
Function to do the actual addition of a factory to the CEGUI system.
Definition: TplWRFactoryRegisterer.h:95