Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
berryIPreferencesService.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #ifndef BERRYIPREFERENCESSERVICE_H_
17 #define BERRYIPREFERENCESSERVICE_H_
18 
20 
21 #include <QtPlugin>
22 
23 namespace berry
24 {
25 
26 template<class T> class SmartPointer;
27 
28 struct IPreferences;
29 
45 {
46  virtual ~IPreferencesService();
47 
53  virtual SmartPointer<IPreferences> GetSystemPreferences() = 0;
54 
61  virtual SmartPointer<IPreferences> GetUserPreferences(const QString& name) = 0;
62 
68  virtual QStringList GetUsers() const = 0;
69 };
70 
71 } // namespace berry
72 
73 Q_DECLARE_INTERFACE(berry::IPreferencesService, "org.blueberry.service.IPreferencesService")
74 
75 #endif /*BERRYIPREFERENCESSERVICE_H_*/
Implements transparent reference counting.
#define org_blueberry_core_runtime_EXPORT