Commit 845e52b6 authored by Alexander Smorkalov's avatar Alexander Smorkalov

OpenCV Manager headers refactoring.

All constants moved to android independent header file.
parent 8579666b
...@@ -5,10 +5,16 @@ ...@@ -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
\ No newline at end of file
...@@ -4,11 +4,7 @@ ...@@ -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
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment