Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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
org_blueberry_core_runtime_Export.h
berry::IExtensionTracker
Definition: berryIExtensionTracker.h:50
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
org_blueberry_core_runtime_EXPORT
#define org_blueberry_core_runtime_EXPORT
Definition: org_blueberry_core_runtime_Export.h:26
berry::IExtensionChangeHandler
Definition: berryIExtensionChangeHandler.h:36
berrySmartPointer.h
berry
Definition: QmitkPropertyItemModel.h:24