summaryrefslogtreecommitdiff
path: root/Ivycpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'Ivycpp.h')
-rw-r--r--Ivycpp.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/Ivycpp.h b/Ivycpp.h
index 5d6f1b6..c78f19e 100644
--- a/Ivycpp.h
+++ b/Ivycpp.h
@@ -9,9 +9,19 @@
#include <GL/glfw.h>
#endif
+#ifdef USE_XT
+#include <X11/Intrinsic.h>
+#endif
+
+
namespace IvyC
{
+#ifdef USE_XT
+ #include "ivyxtloop.h"
+#else
#include <Ivy/ivyloop.h>
+#endif
+
#include <Ivy/ivysocket.h>
#include <Ivy/ivy.h>
}
@@ -53,7 +63,9 @@ public:
#ifndef USE_GLFW
static void ivyMainLoop ();
#endif
-
+#ifdef USE_XT
+ static void setXtAppContext(XtAppContext cntx);
+#endif
protected:
static void ApplicationCb( IvyC::IvyClientPtr app, void *user_data,