Medical Imaging Interaction Toolkit  2024.06.00
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_ */
berry::IDisposable
Definition: berryIDisposable.h:45
berry::IServiceWithSources
Definition: berryIServiceWithSources.h:34
berry::IServiceWithSources::AddSourceProvider
virtual void AddSourceProvider(const SmartPointer< ISourceProvider > &provider)=0
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::IServiceWithSources::~IServiceWithSources
~IServiceWithSources() override
berryIDisposable.h
berry::IServiceWithSources::RemoveSourceProvider
virtual void RemoveSourceProvider(const SmartPointer< ISourceProvider > &provider)=0
berry::IServiceWithSources::berryObjectMacro
berryObjectMacro(berry::IServiceWithSources)
berry
Definition: QmitkPropertyItemModel.h:24