]> 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 4d66c3c..ffa6571 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 6948675..0b102b5 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 87d6a11..81d7ae0 100644 (file)
@@ -85,6 +85,3 @@ END_EVENT_TABLE()
 
 } // EO namespace creaImageIO
 
-
-
-