]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOSettings.h
Message for remove patients action
[creaImageIO.git] / src2 / creaImageIOSettings.h
index 44c6e8c79561385bd59552be3e98e18324205c2e..8d13d366ae8348143566079dab4073ec7ce0e687 100644 (file)
@@ -1,11 +1,12 @@
 #include <boost/program_options.hpp>
 #include <map>
 
-#define SETTINGS_DICOM_LIBRARY "<DICOM Library>"
-#define SETTINGS_SYNC_EVENT     "<syncro_event>"
-#define SETTINGS_SYNC_FREQ       "<syncro_frequency>"
-#define SETTINGS_DBPATH       "<dbpath>"
-#define SETTINGS_COPY_PATH       "<copy_path>"
+#define SETTINGS_DICOM_LIBRARY                 "<DICOM Library>"
+#define SETTINGS_SYNC_EVENT                            "<syncro_event>"
+#define SETTINGS_SYNC_FREQ                             "<syncro_frequency>"
+#define SETTINGS_DBPATH                                        "<dbpath>"
+#define SETTINGS_COPY_PATH                             "<copy_path>"
+#define SETTINGS_REMOVE_PATIENT_DISPLAY "<remove_patient>"
 
 
 namespace creaImageIO
@@ -21,6 +22,9 @@ namespace creaImageIO
                void addDB(const std::string &i_path);
 
                void removeDB(const std::string &i_path);
+
+               void updateSetting(const std::string& key, const std::string &val);
+       
                //write configuration file
                void writeSettingsFile();