Medical Imaging Interaction Toolkit  2024.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 #include <QtPlugin>
20 
21 namespace berry {
22 
23 struct IAdaptable;
24 struct IMemento;
25 
45 {
46  virtual ~IElementFactory();
47 
65  virtual IAdaptable* CreateElement(const SmartPointer<IMemento>& memento) = 0;
66 };
67 
68 }
69 
70 Q_DECLARE_INTERFACE(berry::IElementFactory, "org.blueberry.ui.IElementFactory")
71 
72 #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:44
berry
Definition: QmitkPropertyItemModel.h:24