OpenCV Manager headers refactoring.
authorAlexander Smorkalov <alexander.smorkalov@itseez.com>
Thu, 22 Nov 2012 08:39:06 +0000 (12:39 +0400)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Thu, 22 Nov 2012 08:39:06 +0000 (12:39 +0400)
All constants moved to android independent header file.

android/service/engine/jni/include/EngineCommon.h
android/service/engine/jni/include/IOpenCVEngine.h

index 67a94e2..8aa99f8 100644 (file)
@@ -5,10 +5,16 @@
 #undef LOG_TAG
 #define LOG_TAG "OpenCVEngine"
 
+// OpenCV Engine API version
 #ifndef OPEN_CV_ENGINE_VERSION
     #define OPEN_CV_ENGINE_VERSION 2
 #endif
 
 #define LIB_OPENCV_INFO_NAME "libopencv_info.so"
 
+// OpenCV Manager package name
+#define OPENCV_ENGINE_PACKAGE "org.opencv.engine"
+// Class name of OpenCV engine binder object. Is needned for connection to service
+#define OPECV_ENGINE_CLASSNAME "org.opencv.engine.OpenCVEngineInterface"
+
 #endif
\ No newline at end of file
index 87ff3b6..4dbb251 100644 (file)
@@ -4,11 +4,7 @@
 #include <binder/IInterface.h>
 #include <binder/Parcel.h>
 #include <utils/String16.h>
-
-// OpenCV Manager package name
-#define OPENCV_ENGINE_PACKAGE "org.opencv.engine"
-// Class name of OpenCV engine binder object. Is needned for connection to service
-#define OPECV_ENGINE_CLASSNAME "org.opencv.engine.OpenCVEngineInterface"
+#include "EngineCommon.h"
 
 enum EngineMethonID
 {