--- a/front_idill/extern/fajran-npTuioClient/src/client.h Fri Apr 06 18:36:40 2012 +0200
+++ b/front_idill/extern/fajran-npTuioClient/src/client.h Thu Apr 12 13:09:46 2012 +0200
@@ -18,6 +18,8 @@
#ifndef CLIENT_H_
#define CLIENT_H_
+#include <string>
+
enum TuioEvent {
TE_OBJECT_ADD = 0,
TE_OBJECT_UPDATE = 1,
@@ -25,6 +27,12 @@
TE_CURSOR_ADD = 3,
TE_CURSOR_UPDATE = 4,
TE_CURSOR_REMOVE = 5,
+ /*
+ * Ajouté par alexandre.bastien@iri.centrepompidou.fr
+ */
+ TE_STRING_ADD = 6,
+ TE_STRING_UPDATE = 7,
+ TE_STRING_REMOVE = 8,
};
typedef struct {
@@ -35,12 +43,21 @@
float y;
float z;
float a;
+ //Ajouté par alexandre.bastien@iri.centrepompidou.fr
+ const char* code;
} TuioEventData;
-void tuio_start(int);
-void tuio_stop();
+/*void tuio_start(int);
+void tuio_stop();*/
extern void tuio_callback(TuioEventData);
+extern "C"
+{
+__declspec(dllexport) void tuio_start(int);
+__declspec(dllexport) void tuio_stop(void);
+__declspec(dllexport) void t(void);
+}
+
#endif