]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWtBlackBox.h
#3299 BBTK Bug New Normal wt4
[bbtk.git] / kernel / src / bbtkWtBlackBox.h
index 4725a0dfeac48efd3fdf351d87a4921c76edf4fe..974876b0c75a3692eb5550835e80829f1cf6b6a7 100644 (file)
  * \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;
@@ -125,7 +110,6 @@ namespace bbtk
    // Wt::WApplication *createApplication(const Wt::WEnvironment& env);
     //==================================================================    
 
-
     //==================================================================    
     virtual void bbShowWindow();
     //==================================================================   
@@ -138,14 +122,11 @@ namespace bbtk
    void bbwtProcess();
 
   private:
-    
-    Wt::WApplication* bbApp;
-    Wt::WContainerWidget* bbmWindow;
+    Wt::WApplication           *bbApp;
+    Wt::WContainerWidget       *bbmWindow;
   };
   //=================================================================
  
-
   //=================================================================
   // WxBlackBoxDescriptor declaration
   class WtBlackBoxDescriptor : public WidgetBlackBoxDescriptor<Wt::WContainerWidget>