]> Creatis software - bbtk.git/commitdiff
*** empty log message ***
authorguigues <guigues>
Wed, 23 Jul 2008 11:46:10 +0000 (11:46 +0000)
committerguigues <guigues>
Wed, 23 Jul 2008 11:46:10 +0000 (11:46 +0000)
20 files changed:
kernel/cmake/BBTKConfigurePackage_src.cmake
kernel/cmake/BBTKRootCMakeLists.cmake
kernel/install/linux/CMakeLists.txt
kernel/install/linux/rpmbuild/bbtk.spec.in [new file with mode: 0644]
kernel/src/CMakeLists.txt
kernel/src/bbtkAtomicBlackBoxGetSetFunctor.h
kernel/src/bbtkBlackBox.cxx
kernel/src/bbtkBlackBoxInputOutputDescriptor.h
kernel/src/bbtkInterpreter.cxx
kernel/src/bbtkInterpreter.h
kernel/src/bbtkObject.h
kernel/src/bbtkWxBlackBox.cxx
kernel/src/bbtkWxGUICommand.h
kernel/src/bbtkWxGUIHtmlBrowser.h
kernel/src/bbtkWxGUIOutputMessages.h
kernel/src/bbtkWxGUIPackageBrowser2.cxx
kernel/src/bbtkWxGUIPackageBrowser2.h
kernel/src/bbtkWxGUIScriptingInterface.cxx
kernel/src/bbtkWxGUITextEditor.cxx
kernel/src/bbtkWxGUITextEditor.h

index 79a44e02034a0a631bd5a3da7bd116de37a41efb..c2f17095c91413327aeb01fff0c5644adce5e8f5 100644 (file)
@@ -125,6 +125,7 @@ TARGET_LINK_LIBRARIES(bb${BBTK_PACKAGE_NAME}
   bbtk
   ${${BBTK_PACKAGE_NAME}_LIBS}
   )
+SET_TARGET_PROPERTIES(bb${BBTK_PACKAGE_NAME} PROPERTIES COMPILE_FLAGS -Wall)
 #----------------------------------------------------------------------------
 
 
index a3810ce1f3256e4cab9db4e4064f3ed91ce4e603..e84b5c12c6c2b16648ff24dda47ae3f59faef316 100644 (file)
@@ -1,3 +1,6 @@
+SET(CMAKE_SKIP_RPATH ON)
+
+
 #-----------------------------------------------------------------------------
 SET(BBTK_CMAKE_REL_PATH kernel/cmake)
 SET(BBTK_CMAKE_DIR ${PROJECT_SOURCE_DIR}/${BBTK_CMAKE_REL_PATH})
index 853259d561fdcb2d3029f8d151ccb069459ee5ff..8fb0b475a705f35f472fdc4e4bcd75b37886132f 100644 (file)
@@ -3,3 +3,6 @@ INSTALL(
   PROGRAMS bbtk-uninstall.sh
   DESTINATION bin
 )
+
+# rpmbuild
+SUBDIRS(rpmbuild)
diff --git a/kernel/install/linux/rpmbuild/bbtk.spec.in b/kernel/install/linux/rpmbuild/bbtk.spec.in
new file mode 100644 (file)
index 0000000..830ead2
--- /dev/null
@@ -0,0 +1,70 @@
+# Note that this is NOT a relocatable package
+%define prefix /usr
+Summary: BBTK
+Name: BBTK
+Version: @BBTK_VERSION@
+Release: 1.0.0
+# @BBTK_VERSION@.@BBTK_DATE@
+License: CeCILL-B
+Group: Development/Libraries
+Source: bbtk.tar.gz
+BuildRoot: /tmp/bbtk-%{version}-root
+Prereq: /sbin/install-info
+Docdir: %{prefix}/doc
+#Requires: vtk = 4.5.0-0.cvs.2.fc4
+#Requires: vtk-python = 4.5.0-0.cvs.2.fc4
+#BuildPrereq: vtk-devel = 4.5.0-0.cvs.2.fc4
+BuildRequires: cmake >= 2.4.6
+
+
+%description
+The Black Box ToolKit
+
+%changelog
+* Wed Jul 23 2008 Laurent Guigues <Laurent.Guigues@creatis.insa-lyon.fr> 1.0.0
+- initial packaging with cmake
+
+%prep
+%setup -q -n BBTK
+
+export CC='gcc'
+export CXX='g++'
+export MAKE='make %{?_smp_mflags}'
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$RPM_OPT_FLAGS -Wno-deprecated"
+cmake . \
+       -DCMAKE_INSTALL_PREFIX:STRING="%{_prefix}" \
+        -DCMAKE_SKIP_RPATH:BOOL=ON \
+        -DCMAKE_CXX_COMPILER:FILEPATH=$CXX \
+        -DCMAKE_C_COMPILER:FILEPATH=$CC \
+       -D--BUILD_ALL=ON
+
+%build
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+
+# creating file BBTK.conf in /etc/ld.so.conf.d 
+# which contains the path to BBTK dynamic libs 
+install -d $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d
+echo "%{_libdir}/BBTK" > $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d/BBTK.conf
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root)
+
+#%doc AUTHORS ChangeLog README TODO DEVELOPPER INSTALL PACKAGER
+%doc ChangeLog README TODO 
+%doc Doc
+%{_libdir}/*
+%{_includedir}/*
+%{_datadir}/*
+%{_bindir}/*
+%{_sysconfdir}/ld.so.conf.d/BBTK.conf
index c5ecded0094885cb9df369baf459fa79d303d2a7..dcd505acba10353a43237f9cccba8dcc23788b4c 100644 (file)
@@ -177,6 +177,7 @@ ADD_LIBRARY(bbtk SHARED ${SOURCES} ${SOURCES_H})
 #-----------------------------------------------------------------------------
 TARGET_LINK_LIBRARIES(bbtk ${BBTK_LINK_LIBRARIES})
 #-----------------------------------------------------------------------------
+SET_TARGET_PROPERTIES(bbtk PROPERTIES COMPILE_FLAGS -Wall)
 
 #IF(UNIX)
 # for gnu linker : version script used to define exported symbols
index 6eec77c05a09453c86372d315fe698262d239af4..b9aeff8ac9c84d99d4505e3e6c1093aedff17260 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkAtomicBlackBoxGetSetFunctor.h,v $
   Language:  C++
-  Date:      $Date: 2008/04/24 10:11:27 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2008/07/23 11:46:10 $
+  Version:   $Revision: 1.3 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -52,6 +52,8 @@ namespace bbtk
   public:
     /// Default constructor
     AtomicBlackBoxGetFunctor() {}
+    /// Dtor
+    virtual ~AtomicBlackBoxGetFunctor() {}
     /// Abstract method which applies the "Get" function of AtomicBlackBox o
     virtual Data Get(AtomicBlackBox* o) = 0;
     /// 
@@ -73,6 +75,8 @@ namespace bbtk
   public:
     /// Default constructor
     AtomicBlackBoxSetFunctor() {}
+    /// Dtor
+    virtual ~AtomicBlackBoxSetFunctor() {}
     /// Abstract method which applies the "Set" function of AtomicBlackBox o
     virtual void Set(AtomicBlackBox* o, const Data&) = 0;
     /// 
index d2137752f2e8aee1d3084543d6c786427e001b71..b651c09dbe4e93e01918a174bc4b4861b38a8a30 100644 (file)
@@ -3,8 +3,8 @@
 Program:   bbtk
 Module:    $RCSfile: bbtkBlackBox.cxx,v $
 Language:  C++
-Date:      $Date: 2008/06/19 09:46:41 $
-Version:   $Revision: 1.21 $
+Date:      $Date: 2008/07/23 11:46:10 $
+Version:   $Revision: 1.22 $
                                                                                 
 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
 l'Image). All rights reserved. See doc/license.txt or
@@ -90,11 +90,12 @@ namespace bbtk
 
   //=========================================================================
   BlackBox::BlackBox(const std::string &name) 
-    : bbmName(name), 
-      bbmStatus(MODIFIED), 
-      bbmBoxProcessMode("Pipeline"),
-      bbmParent()
-
+    : 
+    bbmStatus(MODIFIED), 
+    bbmName(name),
+    bbmBoxProcessMode("Pipeline"),
+    bbmParent()
+    
   {
     bbtkDebugMessage("object",4,"==> BlackBox::BlackBox(\""
                     <<name<<"\")"<<std::endl);
@@ -109,8 +110,9 @@ namespace bbtk
 
   //=========================================================================
   BlackBox::BlackBox(BlackBox& from, const std::string &name) 
-    : bbmName(name), 
+    :
       bbmStatus(from.bbmStatus), 
+      bbmName(name), 
       bbmBoxProcessMode(from.bbmBoxProcessMode),
       bbmParent()
 
@@ -455,11 +457,13 @@ namespace bbtk
        this->bbSetStatus(MODIFIED); 
         bbGlobalAddToExecutionList( GetThisPointer<BlackBox>() );
       }
+    /*
     else if ( bbGetStatus() == MODIFIED ) //! this->bbIsUptodate()) 
       { 
        bbtkDebugMessage("modified",2,"-> Already modified"<<std::endl);
        return;
       }
+    */
     else 
       {
        bbtkDebugMessage("modified",2,"-> Status set to modified"<<std::endl);
@@ -1018,7 +1022,7 @@ namespace bbtk
     InputConnectorMapType::iterator i;
     unsigned int namelmax = 0;
     unsigned int valuelmax = 0;
-    unsigned int connlmax = 0;
+    //   unsigned int connlmax = 0;
     for ( i = mInputConnectorMap.begin(); i != mInputConnectorMap.end(); ++i ) 
       {
        iname.push_back(i->first);
index ad994193aede75471524d29de4ccc60ceb9053cc..669001604f85fd4c0e1166708c99baa845c0e282 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBoxInputOutputDescriptor.h,v $
   Language:  C++
-  Date:      $Date: 2008/07/03 18:20:57 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -51,7 +51,9 @@ namespace bbtk
        mNature(nature),
        mCopyConstruct(copy_construct)
     {}
-    
+    /// Dtor
+    virtual ~BlackBoxInputOutputDescriptor() {}
+
     /// Returns the TypeInfo of the BlackBoxDescriptor which created this descriptor
     TypeInfo GetCreatorTypeInfo() const { return mCreatorTypeInfo; }
     /// Returns the name of the in/output
index 2964c08c4821e0242d2bc93e27dcb9de42b95ac9..5bee02dceb52e0be35b0201ccafa322982fdebe8 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkInterpreter.cxx,v $ $
   Language:  C++
-  Date:      $Date: 2008/07/03 13:59:32 $
-  Version:   $Revision: 1.68 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.69 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -1112,7 +1112,8 @@ void Interpreter::SplitLine ( const std::string& str, std::vector<std::string>&
         
            
            Filenames.clear();
-           int nbFiles = Utilities::Explore(*i, false, Filenames);
+           //int nbFiles = 
+           Utilities::Explore(*i, false, Filenames);
            
            nbBssFiles = 0;
            for (std::vector<std::string>::iterator j = Filenames.begin(); 
@@ -1370,8 +1371,8 @@ void Interpreter::SwitchToStream( std::stringstream* stream )
     }
 
     // tests the number of args 
-    if ( ( words.size()-1 < c->second.argmin ) ||
-         ( words.size()-1 > c->second.argmax ) )
+    if ( ( ((int)words.size())-1 < c->second.argmin ) ||
+         ( ((int)words.size())-1 > c->second.argmax ) )
     {
        HelpCommand(words[0]);
        bbtkError(words[0]<<" : wrong number of arguments");
@@ -1570,10 +1571,10 @@ void Interpreter::Help(const std::vector<std::string>& words)
   void Interpreter::GetLineFromPrompt(std::string& s)
   {
     int c;
-    int ind=0;
+    unsigned int ind=0;
 
-    int MAX_LINE_SIZE = 160;
-    int MAX_HISTORY_SIZE = 100;
+    unsigned int MAX_LINE_SIZE = 160;
+    unsigned int MAX_HISTORY_SIZE = 100;
 
     char* newline = new char[MAX_LINE_SIZE];
     memset(newline,0,MAX_LINE_SIZE);
@@ -1581,7 +1582,7 @@ void Interpreter::Help(const std::vector<std::string>& words)
     memset(histline,0,MAX_LINE_SIZE);
 
     char* line = newline;
-    int hist = mHistory.size();
+    unsigned int hist = mHistory.size();
 
     write(1,"> ",2);
     while(1)
@@ -1934,7 +1935,7 @@ void  Interpreter::NewGUI(const std::string& boxname,
 
   BlackBox::Pointer box = workspace->GetPrototype()->bbGetBlackBox(boxname);
   //  BlackBox::InputConnectorMapType incm = box->bbGetInputConnectorMap();
-  int nb = 0;
+  // int nb = 0;
   BlackBox::InputConnectorMapType::iterator i;
   for (i=box->bbGetInputConnectorMap().begin();
        i!=box->bbGetInputConnectorMap().end();
index 29708546c557602ff859f96c18050af0c6121a6f..ee5c86c587bd98c1ca5ecf276c16370892bf14a9 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkInterpreter.h,v $ $
   Language:  C++
-  Date:      $Date: 2008/05/15 08:02:36 $
-  Version:   $Revision: 1.31 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.32 $
 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -45,7 +45,7 @@ namespace bbtk
   {
   public: 
     InterpreterUser() {}
-    ~InterpreterUser() {}
+    virtual ~InterpreterUser() {}
 
     virtual bool InterpreterUserHasOwnHtmlPageViewer() { return false; }
     virtual void InterpreterUserViewHtmlPage(const std::string&) {}
index ac9a5b98003025f61f6b1be2b996633253c7b7c6..089afbb7cf3a8dbde49af644293144012194bfa4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkObject.h,v $
   Language:  C++
-  Date:      $Date: 2008/05/06 13:45:12 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -62,6 +62,7 @@ namespace bbtk
     struct BBTK_EXPORT Deleter 
     { 
       Deleter() : mPointer() {}
+      virtual ~Deleter() {}
       virtual void operator() (Object* p); 
       virtual void Delete(Object* p) { delete p; }
       WeakPointer mPointer;
index 401ac4130637bbde28941572f8f28ab7a03b47bc..26256752a66b4cf04c2cda332edf13501b4505e5 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxBlackBox.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/06/27 08:12:46 $
-  Version:   $Revision: 1.23 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.24 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -110,7 +110,6 @@ namespace bbtk
                                     wxString title,
                                     wxSize size)
     :
-    WxBlackBoxWindow(box),
     wxDialog( parent, 
                -1, 
                title,
@@ -122,7 +121,8 @@ namespace bbtk
                wxMAXIMIZE_BOX | 
                wxMINIMIZE_BOX | 
                wxCAPTION  
-               )
+             ),
+    WxBlackBoxWindow(box)
   {
     bbtkDebugMessage("wx",9,"WxBlackBoxDialog::WxBlackBoxDialog("<<
                     bbGetBlackBox()->bbGetFullName()<<","<<parent<<","
@@ -184,8 +184,7 @@ namespace bbtk
                                   wxWindow *parent,
                                   wxString title,
                                   wxSize size)
-    : WxBlackBoxWindow(box),
-      wxFrame( parent, 
+    :  wxFrame( parent, 
               -1, 
               title,
               wxDefaultPosition,
@@ -196,7 +195,8 @@ namespace bbtk
               wxMAXIMIZE_BOX | 
               wxMINIMIZE_BOX | 
               wxCAPTION  
-              )
+               ),
+       WxBlackBoxWindow(box)
   {
     bbtkDebugMessage("wx",9,"WxBlackBoxFrame::WxBlackBoxFrame("<<
                     bbGetBlackBox()->bbGetFullName()<<","<<parent<<","
index ddc12a8209d6620eea80c9dfb12f07a91c21bd8a..e91c33d800ffb6d8244a3a7062a2b88c627a6c73 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUICommand.h,v $
   Language:  C++
-  Date:      $Date: 2008/06/26 06:50:05 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -46,7 +46,7 @@ namespace bbtk
   {
   public:
     WxGUICommandUser() {}
-    ~WxGUICommandUser() {}
+    virtual ~WxGUICommandUser() {}
     /// Callback invoked when a command is entered in the WxGUICommand
     virtual void WxGUICommandEnter(const std::string& command) {}
   };
index 4979a347f26107ebece5852962a2deec0157c18c..06dbcc9a8c51f961b3d57851cabbe758388b8437 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIHtmlBrowser.h,v $
   Language:  C++
-  Date:      $Date: 2008/06/10 19:19:42 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -76,7 +76,7 @@ namespace bbtk
   {
   public :
     WxGUIHtmlBrowserUser() {}
-    ~WxGUIHtmlBrowserUser() {}
+    virtual ~WxGUIHtmlBrowserUser() {}
     
     virtual bool WxGUIHtmlBrowserUserOnLinkClicked(const std::string& target) 
     { return true; }
index 92d83db77bd65a52dc6a201b0cdaca81e0cef128..a77b95410d11c00c11004d747ccbf15a3b5659bf 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIOutputMessages.h,v $
   Language:  C++
-  Date:      $Date: 2008/03/20 09:51:29 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.2 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -47,7 +47,7 @@ namespace bbtk
   {
   public:
     WxGUIOutputMessagesUser() {}
-    ~WxGUIOutputMessagesUser() {}
+    virtual ~WxGUIOutputMessagesUser() {}
     /// Callback invoked when a command is entered in the WxGUIOutputMessages
     virtual void WxGUIOutputMessagesEnter(const std::string& command) {}
   };
index 159a018fd2abbd6f5703c8397dfe12cbe8342bee..462c40dac2e732b8a8d75cc1eebd3fe052e10858 100644 (file)
@@ -3,8 +3,8 @@
 Program:   bbtk
 Module:    $RCSfile: bbtkWxGUIPackageBrowser2.cxx,v $
 Language:  C++
-Date:      $Date: 2008/06/10 19:19:42 $
-Version:   $Revision: 1.9 $
+Date:      $Date: 2008/07/23 11:46:11 $
+Version:   $Revision: 1.10 $
                                                                                 
 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
 l'Image). All rights reserved. See Doc/License.txt or
@@ -193,7 +193,7 @@ namespace bbtk
 
   void WxGUIBlackBoxList::LogColEvent(const wxListEvent& event, const wxChar *name)
   {
-    const int col = event.GetColumn();
+    //    const int col = event.GetColumn();
 
     /*
       wxLogMessage(wxT("%s: column %d (width = %d or %d)."),
@@ -229,7 +229,7 @@ namespace bbtk
 
   void WxGUIBlackBoxList::OnBeginDrag(wxListEvent& event)
   {
-    const wxPoint& pt = event.m_pointDrag;
+    //    const wxPoint& pt = event.m_pointDrag;
 
     //wxLogMessage( wxT("OnBeginDrag at (%d, %d), item %ld."),
     //          pt.x, pt.y, HitTest(pt, flags) );
@@ -465,7 +465,8 @@ namespace bbtk
 
     int flags;
     long subitem;
-    long item = HitTest(event.GetPosition(), flags, &subitem);
+    //    long item = 
+    HitTest(event.GetPosition(), flags, &subitem);
 
     wxString where;
     switch ( flags )
index 869da8b8ab8609f0e962760ef3efbf8ba0cc2a77..01c8dbf69c9ef0f7c37c54cd901c25a5cfde7e45 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIPackageBrowser2.h,v $
   Language:  C++
-  Date:      $Date: 2008/04/23 09:31:23 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -65,7 +65,7 @@ namespace bbtk
   {
   public:
     WxGUIPackageBrowser2User() {}
-    ~WxGUIPackageBrowser2User() {}
+    virtual ~WxGUIPackageBrowser2User() {}
     /// Callback invoked when the 'run' button is pressed
     virtual void WxGUIPackageBrowser2Run() {}
   };
index 9a6d3a7e1dde45c49400fbcdf4afee813e3cb517..8a6ebfb17d9db41fe99340f809f351a58763f7af 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIScriptingInterface.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/07/01 07:58:28 $
-  Version:   $Revision: 1.13 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.14 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -39,7 +39,7 @@
 #include "bbtkWxStreamRedirector.h"
  
 
-#include "icons/cc_run.xpm"
+//#include "icons/cc_run.xpm"
 
 namespace bbtk
 {
@@ -302,13 +302,13 @@ namespace bbtk
     (*buf) << mWxGUITextEditor->GetCurrentPage()->GetText();
     try 
       {
-       std::cout << "RUN"<<std::endl;
+       //      std::cout << "RUN"<<std::endl;
        if (mwxMenuItemReset->IsChecked()) WxGUICommandEnter("reset");
        mInterpreter->InterpretBuffer(buf);
-       std::cout << "EO RUN"<<std::endl;
+       //      std::cout << "EO RUN"<<std::endl;
       }
     CATCH_MACRO;
-    std::cout << "EO RUN 3"<<std::endl;
+    //    std::cout << "EO RUN 3"<<std::endl;
   }
   //================================================================  
 
index c8baa3759153c030615743deed9a036be936bca1..128f5301b4ff147d58e9de0414f42774a1cebac7 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUITextEditor.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/06/26 07:37:05 $
-  Version:   $Revision: 1.13 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.14 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 #include "bbtkConfigurationFile.h"
 #include "bbtkUtilities.h"
 
-#include "icons/cc_new.xpm"
-#include "icons/cc_open.xpm"
-#include "icons/cc_stop.xpm"
-#include "icons/cc_save.xpm"
-#include "icons/cc_save_as.xpm"
-#include "icons/cc_run.xpm"
-#include "icons/cc_exit.xpm"
+//#include "icons/cc_new.xpm"
+//#include "icons/cc_open.xpm"
+//#include "icons/cc_stop.xpm"
+//#include "icons/cc_save.xpm"
+//#include "icons/cc_save_as.xpm"
+//#include "icons/cc_run.xpm"
+//#include "icons/cc_exit.xpm"
 
 #include "../data/icons/wxart_new.xpm"
 #include "../data/icons/wxart_fileopen.xpm"
 #include "../data/icons/wxart_filesave.xpm"
 #include "../data/icons/wxart_filesaveas.xpm"
-#include "../data/icons/wxart_exefile.xpm"
-#include "../data/icons/wxart_delete.xpm"
+//#include "../data/icons/wxart_exefile.xpm"
+//#include "../data/icons/wxart_delete.xpm"
 #include "../data/icons/wxart_down.xpm"
 #include "../data/icons/wxart_eldel.xpm"
 
index 2bc6efb78e0796465add621fd53be07db8288f74..deada66ef1c9ba80cdf379eedaec3184b307886f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUITextEditor.h,v $
   Language:  C++
-  Date:      $Date: 2008/05/14 12:32:26 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2008/07/23 11:46:11 $
+  Version:   $Revision: 1.6 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -57,7 +57,7 @@ namespace bbtk
   {
   public:
     WxGUITextEditorUser() {}
-    ~WxGUITextEditorUser() {}
+    virtual ~WxGUITextEditorUser() {}
     /// Callback invoked when the 'run' button is pressed
     virtual void WxGUITextEditorRun() {}
   };