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