Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryAbstractContributionFactory.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 BERRYABSTRACTCONTRIBUTIONFACTORY_H_
18 #define BERRYABSTRACTCONTRIBUTIONFACTORY_H_
19 
20 #include <berryObject.h>
21 
23 
24 namespace berry {
25 
26 struct IServiceLocator;
27 struct IContributionRoot;
28 
73 {
74 
75 private:
76 
77  QString location;
78  QString namespaze;
79 
80 public:
81 
83 
84 
95  AbstractContributionFactory(const QString& location,
96  const QString& namespaze);
97 
103  QString GetLocation() const;
104 
124  virtual void CreateContributionItems(IServiceLocator* serviceLocator,
125  const SmartPointer<IContributionRoot>& additions) = 0;
126 
133  QString GetNamespace() const;
134 
135 };
136 
137 }
138 
139 #endif /* BERRYABSTRACTCONTRIBUTIONFACTORY_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