#include <itkObjectFactory.h>
#include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
-
// -------------------------------------------------------------------------
-#define PLUMA_PROVIDER_HEADER_BEGIN_CPPLUGINS( TYPE )\
-class cpPlugins_Interface_EXPORT TYPE##Provider\
-: public pluma::Provider{\
-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:\
- unsigned int getVersion( ) const\
-{ return( PLUMA_INTERFACE_VERSION ); }
+#define PLUMA_PROVIDER_HEADER_BEGIN_CPPLUGINS( TYPE ) \
+ class cpPlugins_Interface_EXPORT TYPE##Provider \
+ : public pluma::Provider \
+ { \
+ 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: \
+ unsigned int getVersion( ) const \
+ { return( PLUMA_INTERFACE_VERSION ); }
// -------------------------------------------------------------------------
#define PLUMA_PROVIDER_HEADER_END_CPPLUGINS };
\r
/* ===================================================================\r
* florez-l@javeriana.edu.co: use dll macro defined from cmake instead\r
- * =================================================================== \r
-#if defined(PLUMA_SYS_WINDOWS)\r
+ * ===================================================================\r
+ #if defined(PLUMA_SYS_WINDOWS)\r
\r
- #ifndef PLUMA_STATIC\r
+ #ifndef PLUMA_STATIC\r
\r
- // Windows platforms\r
- #ifdef PLUMA_EXPORTS\r
+ // Windows platforms\r
+ #ifdef PLUMA_EXPORTS\r
\r
- // From DLL side, we must export\r
- #define PLUMA_API __declspec(dllexport)\r
+ // From DLL side, we must export\r
+ #define PLUMA_API __declspec(dllexport)\r
\r
- #else\r
+ #else\r
\r
- // From client application side, we must import\r
- #define PLUMA_API __declspec(dllimport)\r
+ // From client application side, we must import\r
+ #define PLUMA_API __declspec(dllimport)\r
\r
- #endif\r
+ #endif\r
\r
- // For Visual C++ compilers, we also need to turn off this annoying C4251 warning.\r
- // You can read lots ot different things about it, but the point is the code will\r
- // just work fine, and so the simplest way to get rid of this warning is to disable it\r
- #ifdef _MSC_VER\r
+ // For Visual C++ compilers, we also need to turn off this annoying C4251 warning.\r
+ // You can read lots ot different things about it, but the point is the code will\r
+ // just work fine, and so the simplest way to get rid of this warning is to disable it\r
+ #ifdef _MSC_VER\r
\r
- #pragma warning(disable : 4251)\r
+ #pragma warning(disable : 4251)\r
\r
- #endif\r
+ #endif\r
\r
- #else\r
+ #else\r
\r
- // No specific directive needed for static build\r
- #define PLUMA_API\r
+ // No specific directive needed for static build\r
+ #define PLUMA_API\r
\r
- #endif\r
+ #endif\r
\r
-#else\r
+ #else\r
\r
- // Other platforms don't need to define anything\r
- #define PLUMA_API\r
+ // Other platforms don't need to define anything\r
+ #define PLUMA_API\r
\r
-#endif\r
+ #endif\r
*/\r
\r
#endif // PLUMA_CONFIG_HPP\r