Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryAbstractContributionFactory.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 BERRYABSTRACTCONTRIBUTIONFACTORY_H_
14 #define BERRYABSTRACTCONTRIBUTIONFACTORY_H_
15 
16 #include <berryObject.h>
17 
19 
20 namespace berry {
21 
22 struct IServiceLocator;
23 struct IContributionRoot;
24 
69 {
70 
71 private:
72 
73  QString location;
74  QString namespaze;
75 
76 public:
77 
79 
91  AbstractContributionFactory(const QString& location,
92  const QString& namespaze);
93 
99  QString GetLocation() const;
100 
120  virtual void CreateContributionItems(IServiceLocator* serviceLocator,
121  const SmartPointer<IContributionRoot>& additions) = 0;
122 
129  QString GetNamespace() const;
130 
131 };
132 
133 }
134 
135 #endif /* BERRYABSTRACTCONTRIBUTIONFACTORY_H_ */
org_blueberry_ui_qt_Export.h
berry::IServiceLocator
Definition: berryIServiceLocator.h:43
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berry::AbstractContributionFactory
Definition: berryAbstractContributionFactory.h:68
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24