Removed old interfaces and replaced them with the new ones.

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Serban Waltter
2018-09-27 17:33:40 +03:00
committed by Mihai Tudor Panu
parent b6e53f7da8
commit 34bb12933d
139 changed files with 396 additions and 832 deletions

View File

@ -2,4 +2,5 @@ set (libname "max44000")
set (libdescription "Ambient and Infrared Proximity Sensor")
set (module_src ${libname}.cxx)
set (module_hpp ${libname}.hpp)
set (module_iface iProximity.hpp)
upm_module_init(mraa)

View File

@ -1,7 +1,17 @@
#ifdef SWIGPYTHON
%module (package="upm") max44000
#endif
%import "interfaces/interfaces.i"
%include "../common_top.i"
/* BEGIN Java syntax ------------------------------------------------------- */
#ifdef SWIGJAVA
%typemap(javaimports) SWIGTYPE %{
import upm_interfaces.*;
%}
JAVA_JNI_LOADLIBRARY(javaupm_max44000)
#endif
/* END Java syntax */