Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIBerryPreferences.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 BERRYIBERRYPREFERENCES_H_
17 #define BERRYIBERRYPREFERENCES_H_
18 
20 
21 #include "berryIPreferences.h"
22 #include "berryMessage.h"
23 
24 
25 namespace berry
26 {
27 
33  {
35 
37  IBerryPreferences* const m_Source;
38  const QString m_Property;
39  const QString m_OldValue;
40  const QString m_NewValue;
41 
42  public:
43 
44  ChangeEvent(IBerryPreferences* source, const QString& property,
45  const QString& oldValue, const QString& newValue);
46 
47  IBerryPreferences* GetSource() const;
48  QString GetProperty() const;
49  QString GetOldValue() const;
50  QString GetNewValue() const;
51  };
52 
53  virtual ~IBerryPreferences();
54 
60 
66  berry::Message1<const ChangeEvent&> OnPropertyChanged;
67  };
68 
69 } // namespace berry
70 
71 #endif /*BERRYIBERRYPREFERENCES_H_*/
#define org_blueberry_core_runtime_EXPORT
#define berryObjectMacro(...)
Definition: berryMacros.h:37