Medical Imaging Interaction Toolkit  2022.04.99-01b95b17
Medical Imaging Interaction Toolkit
berryIExtensionChangeHandler.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 
13 #ifndef BERRYIEXTENSIONCHANGEHANDLER_H
14 #define BERRYIEXTENSIONCHANGEHANDLER_H
15 
16 #include <berrySmartPointer.h>
17 
19 
20 namespace berry {
21 
22 struct IExtension;
23 struct IExtensionTracker;
24 
25 class Object;
26 
37 {
38  virtual ~IExtensionChangeHandler();
39 
48  virtual void AddExtension(IExtensionTracker* tracker, const SmartPointer<IExtension>& extension) = 0;
49 
56  virtual void RemoveExtension(const SmartPointer<IExtension>& extension,
57  const QList<SmartPointer<Object> >& objects) = 0;
58 };
59 
60 
61 }
62 
63 #endif // BERRYIEXTENSIONCHANGEHANDLER_H
Implements transparent reference counting.
#define org_blueberry_core_runtime_EXPORT