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
berryIProductProvider.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,
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 BERRYIPRODUCTPROVIDER_H
18 #define BERRYIPRODUCTPROVIDER_H
19 
20 #include <berrySmartPointer.h>
21 
22 #include <QObject>
23 
24 namespace berry {
25 
26 struct IProduct;
27 
43 {
44  virtual ~IProductProvider() {}
45 
51  virtual QString GetName() const = 0;
52 
58  virtual QList<SmartPointer<IProduct>> GetProducts() const = 0;
59 };
60 
61 }
62 
63 Q_DECLARE_INTERFACE(berry::IProductProvider, "org.blueberry.core.runtime.IProductProvider")
64 
65 #endif // BERRYIPRODUCTPROVIDER_H
66 
virtual QString GetName() const =0
virtual QList< SmartPointer< IProduct > > GetProducts() const =0