Adding callback for C++ (still has bug for return values); adding struct as method...
[iot2.git] / iotjava / iotrmi / C++ / sample / TestClassInterface.hpp
index 0dd0845062fd39b79de1561d86c71d6b7fec7dc3..ed73f1e32886d6d870142b135cbca6980a72147e 100644 (file)
@@ -1,7 +1,10 @@
+#ifndef _TESTCLASSINTERFACE_HPP__
+#define _TESTCLASSINTERFACE_HPP__
+
 #include <iostream>
 #include <vector>
-#include "CallBack_CBSkeleton.hpp"
-//#include "CallBack.hpp"
+#include "CallBackInterface.hpp"
+#include "StructC.hpp"
 
 using namespace std;
 
@@ -17,5 +20,8 @@ class TestClassInterface {
                virtual void    registerCallback(CallBackInterface* _cb) = 0;
                virtual void    registerCallback(vector<CallBackInterface*> _cb) = 0;
                virtual int             callBack() = 0;
+               virtual void    handleStruct(vector<data> vecData) = 0;
 };
 
+#endif
+