Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIExtensionChangeHandler.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 BERRYIEXTENSIONCHANGEHANDLER_H
18 #define BERRYIEXTENSIONCHANGEHANDLER_H
19 
20 #include <berrySmartPointer.h>
21 
23 
24 namespace berry {
25 
26 struct IExtension;
27 struct IExtensionTracker;
28 
29 class Object;
30 
41 {
42  virtual ~IExtensionChangeHandler();
43 
52  virtual void AddExtension(IExtensionTracker* tracker, const SmartPointer<IExtension>& extension) = 0;
53 
60  virtual void RemoveExtension(const SmartPointer<IExtension>& extension,
61  const QList<SmartPointer<Object> >& objects) = 0;
62 };
63 
64 
65 }
66 
67 #endif // BERRYIEXTENSIONCHANGEHANDLER_H
Implements transparent reference counting.
#define org_blueberry_core_runtime_EXPORT