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
berryISourceProviderService.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 BERRYISOURCEPROVIDERSERVICE_H
18 #define BERRYISOURCEPROVIDERSERVICE_H
19 
21 
22 #include "berryObject.h"
23 
24 #include <QList>
25 
26 namespace berry {
27 
28 template<class T> class SmartPointer;
29 
30 struct ISourceProvider;
31 
51 struct BERRY_UI_QT ISourceProviderService : public virtual Object
52 {
53 
55 
56  virtual ~ISourceProviderService();
57 
68  virtual SmartPointer<ISourceProvider> GetSourceProvider(const QString& sourceName) const = 0;
69 
81  virtual QList<SmartPointer<ISourceProvider> > GetSourceProviders() const = 0;
82 
83 };
84 
85 }
86 
87 Q_DECLARE_INTERFACE(berry::ISourceProviderService, "org.blueberry.ui.ISourceProviderService")
88 
89 #endif // BERRYISOURCEPROVIDERSERVICE_H
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
Implements transparent reference counting.
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT