Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryISelectionChangedListener.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 
17 #ifndef BERRYISELECTIONCHANGEDLISTENER_H_
18 #define BERRYISELECTIONCHANGEDLISTENER_H_
19 
21 
22 #include <berryMacros.h>
23 #include <berryMessage.h>
24 
26 
27 namespace berry
28 {
29 
30 class SelectionChangedEvent;
31 
42 {
43 
45 
47 
48  void AddListener(ISelectionChangedListener* listener);
49  void RemoveListener(ISelectionChangedListener* listener);
50 
51  private:
52 
54  };
55 
56  virtual ~ISelectionChangedListener();
57 
63  virtual void SelectionChanged(const SelectionChangedEvent::Pointer& event) = 0;
64 };
65 
66 }
67 
68 #endif /*BERRYISELECTIONCHANGEDLISTENER_H_*/
Message1< const SelectionChangedEvent::Pointer & > selectionChanged
#define BERRY_UI_QT