Medical Imaging Interaction Toolkit  2021.10.99-fd647480
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
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
Implements transparent reference counting.
#define berryObjectMacro(...)
Definition: berryMacros.h:33
#define BERRY_UI_QT