]> Creatis software - clitk.git/blob - vv/vvUtils.h
Dicom server connection
[clitk.git] / vv / vvUtils.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
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
8
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.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef vvXXX_h
19 #define vvXXX_h
20 #include <list>
21 #include <string>
22 #include <QSettings>
23
24 ///Returns the last images opened by the user
25 std::list<std::string> GetRecentlyOpenedImages();
26
27 ///Adds an image to the list of recently opened images
28 void AddToRecentlyOpenedImages(std::string filename);
29
30 ///path to user settings
31 QString getVVSettingsPath();
32
33 ///by default nativeFormat
34 QSettings::Format getSettingsOptionFormat();
35
36 /// Add a Dicom Server to settings
37 void AddDicomServer(std::string nickname, std::string aetitle, std::string adress, std::string port);
38
39 // get List of Dicom Servers
40 QStringList getDicomServers();
41
42 std::map <std::string,std::string > getDicomServer(QString nickname);
43 #endif