1 #ifndef Fireworks_Core_FWItemAccessorRegistry_h 2 #define Fireworks_Core_FWItemAccessorRegistry_h 37 #define REGISTER_FWITEMACCESSOR(_name_,_type_,_purpose_) \ 38 DEFINE_FWITEMACCESSOR_METHODS(_name_,_type_,_purpose_); \ 39 DEFINE_EDM_PLUGIN(FWItemAccessorRegistry,_name_,_name_::classRegisterTypeName()+"@"+_name_::classPurpose()+"@" # _name_) 41 #define REGISTER_TEMPLATE_FWITEMACCESSOR(_name_,_type_,_purpose_) \ 42 DEFINE_TEMPLATE_FWITEMACCESSOR_METHODS(_name_,_type_,_purpose_); \ 43 DEFINE_EDM_PLUGIN(FWItemAccessorRegistry,_name_,_name_::classRegisterTypeName()+"@"+_name_::classPurpose()+"@" # _name_) FWItemAccessorBase *( IAccessorCreator)(const TClass *)
edmplugin::PluginFactory< IAccessorCreator > FWItemAccessorRegistry