Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIServiceWithSources.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 
18 #ifndef BERRYISERVICEWITHSOURCES_H_
19 #define BERRYISERVICEWITHSOURCES_H_
20 
21 #include "berryIDisposable.h"
22 
23 namespace berry {
24 
25 struct ISourceProvider;
26 
39 
41 
43 
53  virtual void AddSourceProvider(const SmartPointer<ISourceProvider>& provider) = 0;
54 
63  virtual void RemoveSourceProvider(const SmartPointer<ISourceProvider>& provider) = 0;
64 };
65 
66 }
67 
68 #endif /* BERRYISERVICEWITHSOURCES_H_ */
virtual void AddSourceProvider(const SmartPointer< ISourceProvider > &provider)=0
Implements transparent reference counting.
virtual void RemoveSourceProvider(const SmartPointer< ISourceProvider > &provider)=0
berryObjectMacro(berry::IServiceWithSources)~IServiceWithSources()