Medical Imaging Interaction Toolkit  2016.11.0
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 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef BERRYIELEMENTFACTORY_H
18 #define BERRYIELEMENTFACTORY_H
19 
21 
22 #include <berrySmartPointer.h>
23 
24 namespace berry {
25 
26 struct IAdaptable;
27 struct IMemento;
28 
48 {
49  ~IElementFactory();
50 
68  virtual IAdaptable* CreateElement(const SmartPointer<IMemento>& memento) = 0;
69 };
70 
71 }
72 
73 Q_DECLARE_INTERFACE(berry::IElementFactory, "org.blueberry.ui.IElementFactory")
74 
75 #endif // BERRYIELEMENTFACTORY_H
Implements transparent reference counting.
#define BERRY_UI_QT