]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBox.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkBlackBox.h
index 48509a1930ac2e48a768f432e2e85f888611f36d..3f9fe828fda88ede3f4b63b0d1be7d9237d1932c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBox.h,v $
   Language:  C++
-  Date:      $Date: 2008/04/22 14:30:25 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2008/06/19 09:46:41 $
+  Version:   $Revision: 1.11 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -237,6 +237,10 @@ bool reaction = true);
 
     virtual void Check(bool recursive = true);
 
+       virtual void bbUserOnShow() { }
+       void bbUserOnShowWidget(std::string nameInput);
+
+
   protected:
     //==================================================================
     // PROTECTED PART : ACCESSIBLE TO THE BlackBox DEVELOPER 
@@ -338,8 +342,9 @@ bool reaction = true);
     /// (called after bbProcess during bbExecute)
     /// Does nothing here but overloaded in WxBlackBox and WxContainerBlackBox
     virtual void bbShowWindow(Connection::Pointer caller) { }
+
     virtual void bbHideWindow() {}
+    virtual void bbCloseWindow() { }
    //==================================================================
 
     //@}
@@ -377,7 +382,7 @@ bool reaction = true);
     /// Black box deleter 
     /// 1) Calls the user overloadable bbDelete method
     /// 2) Releases the box descriptor
-    struct Deleter : public Object::Deleter
+    struct BBTK_EXPORT Deleter : public Object::Deleter
     { 
       Deleter();
       void Delete(Object* p);