#include <boost/signal.hpp>
#include <boost/bind.hpp>
-
-//TODO Include libs in the CMake escription
-#include <Wt/WApplication>
-#include <Wt/WEnvironment>
-#include <Wt/WContainerWidget>
-#include <Wt/WWidget>
-#include <Wt/WCheckBox>
//typedef boost::signals::trackable SignalObserver;
// \BBTKWXSIG
//===========================================================================
//===========================================================================
-// Qt headers
+// Wt headers
// DEFINIR LOS HEADERS Wt que se necesitan *-*-*-*-*-*-*-*-*-*
-/*
#ifdef USE_WT
-#include "qwidget.h"
-// EO Qt headers
-#else //USE_QT
+//TODO Include libs in the CMake escription
+#include <Wt/WApplication>
+#include <Wt/WEnvironment>
+#include <Wt/WContainerWidget>
+#include <Wt/WWidget>
+#include <Wt/WCheckBox>
+#include <Wt/WServer>
+#include <Wt/WText>
+#include <Wt/WPushButton>
+#include <Wt/WSlider>
+#include <Wt/WHBoxLayout>
+#include <Wt/WVBoxLayout>
+#include <Wt/WBorderLayout>
+#include <Wt/WLineEdit>
+#include <Wt/WComboBox>
+#include <Wt/WSelectionBox>
+#include <Wt/WGroupBox>
+#include <Wt/WRadioButton>
+#include <Wt/WButtonGroup>
+#include <Wt/WLayout>
+#include <Wt/WHBoxLayout>
+#include <Wt/WVBoxLayout>
+#include <Wt/WRadioButton>
+#include <Wt/Ext/Splitter>
+#include <Wt/WTabWidget>
+#include <Wt/WFileUpload>
+#include <Wt/WLength>
+
+
+#else //USE_WT
+
+#endif // EO USE_WT
-// define QWidget
-typedef void QWidget;
-typedef void QBusyCursor;
-#endif // EO USE_WXWIDGETS
-//-*-*-*-* JFGA
-*/
#ifdef USE_WT
typedef boost::signal<void ()> Signal_type;
typedef Signal_type::slot_function_type Slot_function_type;
// \BBTKWXSIG
-
+
/*
static void ResetCursor();
static void BeginBusyCursor();
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();
//==================================================================
#ifdef USE_WT
+
+
+ static std::string jScript;
//==================================================================
/// Conversion std::string to wxString
inline Wt::WString std2wt(const std::string& s)