Export ShapeRec symbols

This commit is contained in:
Camille GOUTTEBROZE 2014-08-26 15:08:51 +02:00
parent 00fc3b27ef
commit 45fc0b9952

View File

@ -32,7 +32,17 @@
// Qt // Qt
#include <QRect> #include <QRect>
class ShapeRec_Parameters #ifdef WIN32
#if defined GEOM_SHAPEREC_EXPORTS || defined GEOMShapeRec_EXPORTS
#define GEOM_SHAPEREC_EXPORT __declspec( dllexport )
#else
#define GEOM_SHAPEREC_EXPORT __declspec( dllimport )
#endif
#else
#define GEOM_SHAPEREC_EXPORT
#endif
class GEOM_SHAPEREC_EXPORT ShapeRec_Parameters
{ {
public: public:
ShapeRec_Parameters(); ShapeRec_Parameters();
@ -42,7 +52,7 @@ public:
int findContoursMethod; int findContoursMethod;
}; };
class ShapeRec_CornersParameters : public ShapeRec_Parameters class GEOM_SHAPEREC_EXPORT ShapeRec_CornersParameters : public ShapeRec_Parameters
{ {
public: public:
ShapeRec_CornersParameters(); ShapeRec_CornersParameters();
@ -55,7 +65,7 @@ public:
double epsilon; double epsilon;
}; };
class ShapeRec_CannyParameters : public ShapeRec_Parameters class GEOM_SHAPEREC_EXPORT ShapeRec_CannyParameters : public ShapeRec_Parameters
{ {
public: public:
ShapeRec_CannyParameters(); ShapeRec_CannyParameters();
@ -66,7 +76,7 @@ public:
bool L2gradient; bool L2gradient;
}; };
class ShapeRec_ColorFilterParameters : public ShapeRec_Parameters class GEOM_SHAPEREC_EXPORT ShapeRec_ColorFilterParameters : public ShapeRec_Parameters
{ {
public: public:
ShapeRec_ColorFilterParameters(); ShapeRec_ColorFilterParameters();
@ -79,7 +89,7 @@ public:
double maxThreshold; double maxThreshold;
}; };
class ShapeRec_FeatureDetector class GEOM_SHAPEREC_EXPORT ShapeRec_FeatureDetector
{ {
public: public: