]> Creatis software - creaImageIO.git/commitdiff
Actually set the bool in Setters
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 24 Jun 2009 08:57:07 +0000 (08:57 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 24 Jun 2009 08:57:07 +0000 (08:57 +0000)
src2/creaImageIOPACSConnection.cpp
src2/creaImageIOSQLiteTreeHandler.h
src2/creaImageIOWxEditFieldsPanel.cpp

index 4d66c3c4ff9baae0360a7828940908a3be959f00..ffa6571dbd33c6d5ba6e59c824556d4843f48681 100644 (file)
@@ -1,10 +1,11 @@
+
 #include <creaImageIOPACSConnection.h>
 #include <cstdlib>
 #include <cstring>
 #include <iostream>
-#include <boost/asio.hpp>
+//#include <boost/asio.hpp>
 
-using boost::asio::ip::tcp;
+//using boost::asio::ip::tcp;
 
 enum { max_length = 3086 };
 using namespace std; 
@@ -12,6 +13,7 @@ namespace creaImageIO
 {
        PACSConnection::PACSConnection(std::string command)
        {
+       /*
        try
        {
 
@@ -38,5 +40,10 @@ namespace creaImageIO
        {
                std::cerr << "Exception: " << e.what() << "\n";
        }
+       */
        }
+       
 }
+
+
+
index 6948675d43d05fe154702695df4fab97a2558e7f..0b102b584f4f66a71fc66d93e41375c450dd28ab 100644 (file)
@@ -265,7 +265,7 @@ namespace creaImageIO
     std::string mFileName;
     /// Is the DB writable ?
     bool mWritable;
-    void SetWritable(bool w) { mWritable; }
+    void SetWritable(bool w) { mWritable = w; }
     bool GetWritable() const { return mWritable; }
        bool mIsAdding;
 
index 87d6a111dd5b23e504c8fec713c8a2e8308303ff..81d7ae0a2c5769fa22b7ffa8957d667cc9188af7 100644 (file)
@@ -85,6 +85,3 @@ END_EVENT_TABLE()
 
 } // EO namespace creaImageIO
 
-
-
-