6 #ifndef __MYGUI_GENERIC_FACTORY_H__
7 #define __MYGUI_GENERIC_FACTORY_H__
16 template <
typename Type>
27 static void createFromFactory(
IObject*& _instance)
29 _instance =
new Type();
35 #endif // __MYGUI_GENERIC_FACTORY_H__
delegates::CDelegate1< IObject *& > Delegate
delegates::IDelegate0 * newDelegate(void(*_func)())
static Delegate::IDelegate * getFactory()