1 /*!
2 	@file
3 	@author		Albert Semenov
4 	@date		07/2012
5 */
6 
7 #ifndef _974be190_ed90_49c5_a20f_700745d10220_
8 #define _974be190_ed90_49c5_a20f_700745d10220_
9 
10 #include "FactoryItemRegistrator.h"
11 
12 #define FACTORY_ITEM_ATTRIBUTE(type) namespace { static ::factories::FactoryItemRegistrator<type> instance(#type); }
13 
14 #define FACTORY_ITEM(type) ::factories::RegisterFactory(new ::components::FactoryTemplate<type>(), #type);
15 
16 #endif
17