Object Detection  5.0
Image Processing Using Qt and Opencv
circledetectorpluginmodel_global.h
1 #ifndef CIRCLEDETECTORPLUGINMODEL_GLOBAL_H
2 #define CIRCLEDETECTORPLUGINMODEL_GLOBAL_H
3 
4 #ifndef CIRCLE_MODEL_USE_STATIC_LIB
5 # include <QtCore/qglobal.h>
6 # define CIRCLE_MODEL_LIB CIRCLEDETECTORMODELSHARED_EXPORT
7 # if defined(CIRCLEDETECTORMODEL_LIBRARY)
8 # define CIRCLEDETECTORMODELSHARED_EXPORT Q_DECL_EXPORT
9 # else
10 # define CIRCLEDETECTORMODELSHARED_EXPORT Q_DECL_IMPORT
11 # endif
12 #else
13 # define CIRCLE_MODEL_LIB
14 #endif
15 
16 #define CIRCLE_MODEL_BEGIN_NAMESPACE
17 #define CIRCLE_MODEL_END_NAMESPACE
18 
19 #ifdef USE_CPP_STD_14
20 #include <cstdio>
21 # define INIT_UNIQUE_PTR(TYPE, ...) std::make_unique<TYPE>(__VA_ARGS__)
22 #else
23 # define INIT_UNIQUE_PTR(TYPE, ...) std::unique_ptr<TYPE>(new TYPE(__VA_ARGS__))
24 #endif
25 #endif // CIRCLEDETECTORPLUGINMODEL_GLOBAL_H