27 #ifndef _CEGUITplWindowFactoryRegisterer_h_
28 #define _CEGUITplWindowFactoryRegisterer_h_
30 #include "CEGUI/FactoryRegisterer.h"
31 #include "CEGUI/WindowFactoryManager.h"
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: arch_overview.dox:1
TplWindowFactoryRegisterer()
Constructor.
Definition: TplWindowFactoryRegisterer.h:58
Base class encapsulating a type name and common parts of factory registration.
Definition: FactoryRegisterer.h:41
void unregisterFactory() const
Perform unregistration (removal) of the factory for whichever type this class registers a factory for...
Definition: TplWindowFactoryRegisterer.h:64
Template based implementation of FactoryRegisterer that allows easy registration of a factory for any...
Definition: TplWindowFactoryRegisterer.h:42
void doFactoryAdd() const
Function to do the actual addition of a factory to the CEGUI system.
Definition: TplWindowFactoryRegisterer.h:71
bool isAlreadyRegistered() const
Function to check if factory for our type is already registered.
Definition: TplWindowFactoryRegisterer.h:78