X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FcpPlugins%2FInterface%2FObject.h;h=6e273f174264f5fe3ea7f822c5254a76102557e8;hb=94a44f4cdf4747eccc933df0a9c75ec86e825d2e;hp=b133fe70281e60724a4c0a6f021c119228ade2d8;hpb=9015cf98c60cf4ab304a639990004ee783a8bec0;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/Object.h b/lib/cpPlugins/Interface/Object.h index b133fe7..6e273f1 100644 --- a/lib/cpPlugins/Interface/Object.h +++ b/lib/cpPlugins/Interface/Object.h @@ -5,7 +5,6 @@ #include #include -#define ITK_MANUAL_INSTANTIATION #include #include @@ -14,14 +13,14 @@ class cpPlugins_Interface_EXPORT TYPE##Provider \ : public pluma::Provider \ { \ - private: \ +private: \ friend class pluma::Pluma; \ static const unsigned int PLUMA_INTERFACE_VERSION; \ static const unsigned int PLUMA_INTERFACE_LOWEST_VERSION; \ static const std::string PLUMA_PROVIDER_TYPE; \ std::string plumaGetType( ) const \ { return( PLUMA_PROVIDER_TYPE ); } \ - public: \ +public: \ unsigned int getVersion( ) const \ { return( PLUMA_INTERFACE_VERSION ); } @@ -31,7 +30,7 @@ // ------------------------------------------------------------------------- #define CPPLUGINS_PROVIDER_HEADER( TYPE ) \ CPPLUGINS_PROVIDER_HEADER_BEGIN( TYPE ) \ - virtual TYPE::Pointer create( ) const = 0; \ + virtual TYPE::Pointer create( ) const = 0; \ CPPLUGINS_PROVIDER_HEADER_END // -------------------------------------------------------------------------