Go to the documentation of this file.
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__