Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
berryIElementFactory.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 BERRYIELEMENTFACTORY_H
14 #define BERRYIELEMENTFACTORY_H
15 
17 
18 #include <berrySmartPointer.h>
19 
20 namespace berry {
21 
22 struct IAdaptable;
23 struct IMemento;
24 
44 {
45  virtual ~IElementFactory();
46 
64  virtual IAdaptable* CreateElement(const SmartPointer<IMemento>& memento) = 0;
65 };
66 
67 }
68 
69 Q_DECLARE_INTERFACE(berry::IElementFactory, "org.blueberry.ui.IElementFactory")
70 
71 #endif // BERRYIELEMENTFACTORY_H
org_blueberry_ui_qt_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::IAdaptable
Definition: berryIAdaptable.h:50
berrySmartPointer.h
berry::IElementFactory
Definition: berryIElementFactory.h:43
berry
Definition: QmitkPropertyItemModel.h:24