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:
committed by
Mihai Tudor Panu
parent
b6e53f7da8
commit
34bb12933d
@@ -4,4 +4,5 @@ upm_mixed_module_init (NAME button
|
||||
C_SRC button.c
|
||||
CPP_HDR button.hpp
|
||||
CPP_SRC button.cxx
|
||||
IFACE_HDR iButton.hpp
|
||||
REQUIRES mraa)
|
||||
|
||||
@@ -1,7 +1,16 @@
|
||||
#ifdef SWIGPYTHON
|
||||
%module (package="upm") button
|
||||
#endif
|
||||
|
||||
%import "interfaces/interfaces.i"
|
||||
|
||||
%include "../common_top.i"
|
||||
|
||||
/* BEGIN Java syntax ------------------------------------------------------- */
|
||||
#ifdef SWIGJAVA
|
||||
%typemap(javaimports) SWIGTYPE %{
|
||||
import upm_interfaces.*;
|
||||
%}
|
||||
%apply int {mraa::Edge}
|
||||
|
||||
JAVA_ADD_INSTALLISR_EDGE(upm::Button)
|
||||
|
||||
Reference in New Issue
Block a user