Medical Imaging Interaction Toolkit  2018.4.99-701c8286
Medical Imaging Interaction Toolkit
berryIPreferencesService.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 #ifndef BERRYIPREFERENCESSERVICE_H_
13 #define BERRYIPREFERENCESSERVICE_H_
14 
16 
17 #include <QtPlugin>
18 
19 namespace berry
20 {
21 
22 template<class T> class SmartPointer;
23 
24 struct IPreferences;
25 
41 {
42  virtual ~IPreferencesService();
43 
49  virtual SmartPointer<IPreferences> GetSystemPreferences() = 0;
50 
57  virtual SmartPointer<IPreferences> GetUserPreferences(const QString& name) = 0;
58 
64  virtual QStringList GetUsers() const = 0;
65 };
66 
67 } // namespace berry
68 
69 Q_DECLARE_INTERFACE(berry::IPreferencesService, "org.blueberry.service.IPreferencesService")
70 
71 #endif /*BERRYIPREFERENCESSERVICE_H_*/
Implements transparent reference counting.
#define org_blueberry_core_runtime_EXPORT