Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berryContributorFactory.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 BERRYCONTRIBUTORFACTORY_H
14 #define BERRYCONTRIBUTORFACTORY_H
15 
17 
18 #include <QSharedPointer>
19 
20 class ctkPlugin;
21 
22 namespace berry {
23 
24 template<typename A> class SmartPointer;
25 
26 struct IContributor;
27 
35 {
36 
37 public:
38 
46  static SmartPointer<IContributor> CreateContributor(const QSharedPointer<ctkPlugin>& contributor);
47 
58  static QSharedPointer<ctkPlugin> Resolve(const SmartPointer<IContributor>& contributor);
59 
60 private:
61 
62  // not implemented
65 };
66 
67 }
68 
69 #endif // BERRYCONTRIBUTORFACTORY_H
org_blueberry_core_runtime_Export.h
berry::ContributorFactory
Definition: berryContributorFactory.h:34
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
org_blueberry_core_runtime_EXPORT
#define org_blueberry_core_runtime_EXPORT
Definition: org_blueberry_core_runtime_Export.h:26
QSharedPointer
Definition: berryILog.h:16
berry
Definition: QmitkPropertyItemModel.h:24