]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWtBlackBox.h
#2498 BBTK Feature New Norma lwt-version kernel
[bbtk.git] / kernel / src / bbtkWtBlackBox.h
index 310a854bf2b7019bd5c5201a0c9bd2251d13c6d9..844d9d407c9fd9cf596f3a33c919c95696eca8b4 100644 (file)
@@ -73,6 +73,12 @@ namespace bbtk
 //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>);
     
@@ -80,6 +86,18 @@ namespace bbtk
     //  protected:
     
   public:
+  
+     struct wtServerData
+          {
+             /*std::string docRoot;
+             std::string port;
+             std::string address;
+           */
+             static std::string docRoot  ;
+             static std::string port     ;
+             static std::string address  ;
+           };
+  
   /*   static std::string* jScript;
     static void changeJScript(std::string newJScript){jScript=newJScript;};
     static std::string getJScript(){return jScript;};*/
@@ -94,8 +112,8 @@ namespace bbtk
     /// ** Must be defined ** in toolkit specific descendants 
     virtual void bbCreateFrameWindow();
     //==================================================================    
-
-     
+    //staticwtServerData serData;
+   // static void setServerInformation(std::string nDocRoot, std::string nPort, std::string nAddress);
     //==================================================================    
     Wt::WContainerWidget* bbGetWindow() { return bbmWindow; }
     void bbSetWindow(Wt::WContainerWidget*) ;