7 #ifndef __MYGUI_GENERIC_FACTORY_H__
8 #define __MYGUI_GENERIC_FACTORY_H__
17 template <
typename Type>
28 static void createFromFactory(
IObject*& _instance)
30 _instance =
new Type();
36 #endif // __MYGUI_GENERIC_FACTORY_H__
delegates::CDelegate1< IObject *& > Delegate
delegates::IDelegate0 * newDelegate(void(*_func)())
static Delegate::IDelegate * getFactory()