Medical Imaging Interaction Toolkit  2018.4.99-6a3ea89d
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
Implements transparent reference counting.
#define BERRY_UI_QT