]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWt.h
#249 8BBTK Feature New Normal - wt-version kernel
[bbtk.git] / kernel / src / bbtkWt.h
index 0828d0b9f0bbb36b797e1cca3682f646306fa59b..f1fcd5e39587cadf19dd470dd00b43af77723a04 100644 (file)
 #include <boost/signal.hpp>
 #include <boost/bind.hpp>
 
+//typedef boost::signals::trackable SignalObserver;
+// \BBTKWXSIG
+//===========================================================================
+
+
+//===========================================================================
+// Wt headers
+// DEFINIR LOS HEADERS Wt que se necesitan  *-*-*-*-*-*-*-*-*-*
+#ifdef USE_WT
 
 //TODO Include libs in the CMake escription
 #include <Wt/WApplication>
 #include <Wt/WFileUpload>
 #include <Wt/WLength>
 
-//typedef boost::signals::trackable SignalObserver;
-// \BBTKWXSIG
-//===========================================================================
-
 
-//===========================================================================
-// Qt headers
-// DEFINIR LOS HEADERS Wt que se necesitan  *-*-*-*-*-*-*-*-*-*
-/*
-#ifdef USE_WT
-#include "qwidget.h"
-// EO Qt headers
+#else //USE_WT
 
-#else //USE_QT
+#endif // EO USE_WT
 
-// define QWidget
-typedef void QWidget;
-typedef void QBusyCursor;
 
-#endif // EO USE_WXWIDGETS
 
-//-*-*-*-* JFGA 
 
-*/
 #ifdef USE_WT
 
 
@@ -175,10 +168,13 @@ namespace bbtk
 
 
     static void ProcessPendingEvents();
+
+#ifdef USE_WT
     /// Sets the parent of all bbtk windows
     static void SetTopWindow(Wt::WContainerWidget*);
     /// Returns the parent of all bbtk windows 
     static Wt::WContainerWidget* GetTopWindow();
+#endif // EO USE_WT
 
     
     static void IncNbWindowsAlive();