Completely separate C and C++ API of OpenCV core

This commit is contained in:
Andrey Kamaev
2013-03-29 12:59:55 +04:00
parent 715fa3303e
commit 2b1ef95415
46 changed files with 201 additions and 183 deletions

View File

@@ -61,8 +61,6 @@
//CV_WARNING("This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module")
#include "opencv2/core/core_c.h"
#include "opencv2/core.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc.hpp"
#include "opencv2/video.hpp"
@@ -76,9 +74,5 @@
#define CV_IMPL extern "C"
#endif //CV_IMPL
#if defined(__cplusplus)
#include "opencv2/core/internal.hpp"
#endif //__cplusplus
#endif // __OPENCV_OLD_CV_H_

View File

@@ -47,6 +47,7 @@
//#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
//#endif
#include <cv.h>
#include "cv.h"
#include "opencv2/core.hpp"
#endif

View File

@@ -47,7 +47,6 @@
//#endif
#include "opencv2/core/core_c.h"
#include "opencv2/core.hpp"
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc.hpp"
#include "opencv2/video.hpp"

View File

@@ -46,6 +46,7 @@
//#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
//#endif
#include <cvaux.h>
#include "cvaux.h"
#include "opencv2/core/utility.hpp"
#endif

View File

@@ -48,6 +48,5 @@
//#endif
#include "opencv2/core/core_c.h"
#include "opencv2/core.hpp"
#endif

View File

@@ -47,6 +47,7 @@
//#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
//#endif
#include <cxcore.h>
#include "cxcore.h"
#include "opencv2/core.hpp"
#endif

View File

@@ -43,7 +43,6 @@
#define __OPENCV_OLD_HIGHGUI_H__
#include "opencv2/core/core_c.h"
#include "opencv2/core.hpp"
#include "opencv2/highgui/highgui_c.h"
#include "opencv2/highgui.hpp"

View File

@@ -42,7 +42,6 @@
#define __OPENCV_OLD_ML_H__
#include "opencv2/core/core_c.h"
#include "opencv2/core.hpp"
#include "opencv2/ml.hpp"
#endif