1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://www.centreleonberard.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the copyright notices for more information.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
24 ///Returns the last images opened by the user
25 std::list<std::string> GetRecentlyOpenedImages();
27 ///Adds an image to the list of recently opened images
28 void AddToRecentlyOpenedImages(std::string filename);
30 ///path to user settings
31 QString getVVSettingsPath();
33 ///by default nativeFormat
34 QSettings::Format getSettingsOptionFormat();
36 /// Add a Dicom Server to settings
37 void AddDicomServer(std::string nickname, std::string aetitle, std::string adress, std::string port);
39 /// Remove a Dicom Server to settings
40 void removeDicomServer(std::string nickname);
42 // get List of Dicom Servers
43 QStringList getDicomServers();
45 // Set parameters for VV (AETITLE, port-scu) to allow c-move.
46 void setDicomClient();
48 // get VV-AETITLE for c-move parameters.
49 std::string getDicomClientAETitle();
51 // get VV-PORT-SCU for c-move parameters.
52 int getDicomClientPort();
54 std::map <std::string,std::string > getDicomServer(QString nickname);