Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
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 (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 BERRYIPRODUCTPROVIDER_H
14 #define BERRYIPRODUCTPROVIDER_H
15 
16 #include <berrySmartPointer.h>
17 
18 #include <QObject>
19 
20 namespace berry {
21 
22 struct IProduct;
23 
39 {
40  virtual ~IProductProvider() {}
41 
47  virtual QString GetName() const = 0;
48 
54  virtual QList<SmartPointer<IProduct>> GetProducts() const = 0;
55 };
56 
57 }
58 
59 Q_DECLARE_INTERFACE(berry::IProductProvider, "org.blueberry.core.runtime.IProductProvider")
60 
61 #endif // BERRYIPRODUCTPROVIDER_H
62 
berry::IProductProvider::GetName
virtual QString GetName() const =0
berry::IProductProvider
Definition: berryIProductProvider.h:38
berry::IProductProvider::~IProductProvider
virtual ~IProductProvider()
Definition: berryIProductProvider.h:40
berrySmartPointer.h
berry::IProductProvider::GetProducts
virtual QList< SmartPointer< IProduct > > GetProducts() const =0
berry
Definition: QmitkPropertyItemModel.h:24