projects
/
iot2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adding callback for C++ (still has bug for return values); adding struct as method...
[iot2.git]
/
iotjava
/
iotrmi
/
C++
/
sample
/
CallBack.hpp
diff --git
a/iotjava/iotrmi/C++/sample/CallBack.hpp
b/iotjava/iotrmi/C++/sample/CallBack.hpp
index a4b9db44f998193ab9fd2d3d5a778cb99a832ffe..7774d764dadef13945207fed1cb56bdf54f837b6 100644
(file)
--- a/
iotjava/iotrmi/C++/sample/CallBack.hpp
+++ b/
iotjava/iotrmi/C++/sample/CallBack.hpp
@@
-1,3
+1,6
@@
+#ifndef _CALLBACK_HPP__
+#define _CALLBACK_HPP__
+
#include <iostream>
#include "CallBackInterface.hpp"
@@
-36,4
+39,5
@@
void CallBack::setInt(int _i) {
intA = _i;
}
+#endif