summaryrefslogtreecommitdiff
path: root/Ivy.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy.cxx')
-rw-r--r--Ivy.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/Ivy.cxx b/Ivy.cxx
index bc40715..f737c4a 100644
--- a/Ivy.cxx
+++ b/Ivy.cxx
@@ -34,8 +34,14 @@ GLFWmutex Ivy::ivyCbmutex = NULL;
*/
Ivy::Ivy()
{
+}
+#ifdef USE_XT
+void Ivy::setXtAppContext(XtAppContext cntx )
+{
+ IvyC::IvyXtChannelAppContext (cntx);
}
+#endif
#ifndef USE_GLFW
Ivy::Ivy(const char* name, const char * ready, IvyApplicationCallback *callback,
@@ -99,12 +105,13 @@ void Ivy::start(const char *domain)
void Ivy::ivyMainLoop (void)
{
// DEBUG
-
+#ifndef USE_XT
#if (IVYMAJOR_VERSION == 3) && (IVYMINOR_VERSION < 9)
IvyC::IvyMainLoop(NULL, NULL);
#else
IvyC::IvyMainLoop();
#endif
+#endif // USE_XT
}
#else
void GLFWCALL Ivy::ivyMainLoopInSeparateThread (void *arg)