Adding callback for C++ (still has bug for return values); adding struct as method...
[iot2.git] / iotjava / iotrmi / C++ / sample / CallBack_Skeleton.hpp
index 36477ac1cbf55ae968240e72173ca85a89c24dc8..b087046db8291101847f62bb1ca63f991fc21824 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _CALLBACK_SKELETON_HPP__
+#define _CALLBACK_SKELETON_HPP__
+
 #include <iostream>
 #include "../IoTRMIObject.hpp"
 #include "CallBack.hpp"
@@ -91,4 +94,5 @@ void CallBack_Skeleton::setInt(int _i) {
        cb->setInt(_i);
 }
 
+#endif