Medical Imaging Interaction Toolkit  2023.12.99-3b10b122
Medical Imaging Interaction Toolkit
berryISourceProviderService.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 BERRYISOURCEPROVIDERSERVICE_H
14 #define BERRYISOURCEPROVIDERSERVICE_H
15 
17 
18 #include "berryObject.h"
19 
20 #include <QList>
21 
22 namespace berry {
23 
24 template<class T> class SmartPointer;
25 
26 struct ISourceProvider;
27 
47 struct BERRY_UI_QT ISourceProviderService : public virtual Object
48 {
49 
51 
52  ~ISourceProviderService() override;
53 
64  virtual SmartPointer<ISourceProvider> GetSourceProvider(const QString& sourceName) const = 0;
65 
77  virtual QList<SmartPointer<ISourceProvider> > GetSourceProviders() const = 0;
78 
79 };
80 
81 }
82 
83 Q_DECLARE_INTERFACE(berry::ISourceProviderService, "org.blueberry.ui.ISourceProviderService")
84 
85 #endif // BERRYISOURCEPROVIDERSERVICE_H
org_blueberry_ui_qt_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
berry::ISourceProviderService
Definition: berryISourceProviderService.h:47
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24