OpenCV Manager headers refactoring.

All constants moved to android independent header file.
pull/172/head
Alexander Smorkalov 13 years ago
parent 8579666b03
commit 845e52b676
  1. 6
      android/service/engine/jni/include/EngineCommon.h
  2. 6
      android/service/engine/jni/include/IOpenCVEngine.h

@ -5,10 +5,16 @@
#undef LOG_TAG #undef LOG_TAG
#define LOG_TAG "OpenCVEngine" #define LOG_TAG "OpenCVEngine"
// OpenCV Engine API version
#ifndef OPEN_CV_ENGINE_VERSION #ifndef OPEN_CV_ENGINE_VERSION
#define OPEN_CV_ENGINE_VERSION 2 #define OPEN_CV_ENGINE_VERSION 2
#endif #endif
#define LIB_OPENCV_INFO_NAME "libopencv_info.so" #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 #endif

@ -4,11 +4,7 @@
#include <binder/IInterface.h> #include <binder/IInterface.h>
#include <binder/Parcel.h> #include <binder/Parcel.h>
#include <utils/String16.h> #include <utils/String16.h>
#include "EngineCommon.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"
enum EngineMethonID enum EngineMethonID
{ {

Loading…
Cancel
Save