Medical Imaging Interaction Toolkit  2018.4.99-4c24e3cb
Medical Imaging Interaction Toolkit
berryIServiceWithSources.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 
14 #ifndef BERRYISERVICEWITHSOURCES_H_
15 #define BERRYISERVICEWITHSOURCES_H_
16 
17 #include "berryIDisposable.h"
18 
19 namespace berry {
20 
21 struct ISourceProvider;
22 
35 
37 
38  ~IServiceWithSources() override;
39 
49  virtual void AddSourceProvider(const SmartPointer<ISourceProvider>& provider) = 0;
50 
59  virtual void RemoveSourceProvider(const SmartPointer<ISourceProvider>& provider) = 0;
60 };
61 
62 }
63 
64 #endif /* BERRYISERVICEWITHSOURCES_H_ */
virtual void AddSourceProvider(const SmartPointer< ISourceProvider > &provider)=0
Implements transparent reference counting.
berryObjectMacro(berry::IServiceWithSources) ~IServiceWithSources() override
virtual void RemoveSourceProvider(const SmartPointer< ISourceProvider > &provider)=0