* \brief
*/
-
#ifdef USE_WT
-
-
#ifndef __bbtkWtBlackBox_h__
#define __bbtkWtBlackBox_h__
-
-
#include "bbtkWidgetBlackBox.h"
#include "bbtkWt.h"
-
namespace bbtk
{
-
-
//==================================================================
/// Widget black boxes
//EED 10/06/2009 /*BBTK_EXPORT*/
class BBTK_EXPORT WtBlackBox : public bbtk::WidgetBlackBox<Wt::WContainerWidget>
{
-
-
-
-
-
public:
BBTK_BLACK_BOX_INTERFACE(WtBlackBox,bbtk::WidgetBlackBox<Wt::WContainerWidget>);
-
-
+
// protected:
-
public:
-
struct wtServerData
{
- /*std::string docRoot;
- std::string port;
- std::string address;
+ /*
+ std::string docRoot;
+ std::string port;
+ std::string address;
*/
- static std::string docRoot ;
- static std::string port ;
- static std::string address ;
+ static std::string docRoot ;
+ static std::string port ;
+ static std::string address ;
- static int argc;
- static char **argv;
+ static int argc;
+ static char **argv;
};
/* static std::string* jScript;
// Wt::WApplication *createApplication(const Wt::WEnvironment& env);
//==================================================================
-
//==================================================================
virtual void bbShowWindow();
//==================================================================
void bbwtProcess();
private:
-
- Wt::WApplication* bbApp;
- Wt::WContainerWidget* bbmWindow;
-
+ Wt::WApplication *bbApp;
+ Wt::WContainerWidget *bbmWindow;
};
//=================================================================
-
//=================================================================
// WxBlackBoxDescriptor declaration
class WtBlackBoxDescriptor : public WidgetBlackBoxDescriptor<Wt::WContainerWidget>