Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 
37 {
38 
39 public:
40 
48  static SmartPointer<IContributor> CreateContributor(const QSharedPointer<ctkPlugin>& contributor);
49 
60  static QSharedPointer<ctkPlugin> Resolve(const SmartPointer<IContributor>& contributor);
61 
62 private:
63 
64  // not implemented
67 };
68 
69 }
70 
71 #endif // BERRYCONTRIBUTORFACTORY_H
Implements transparent reference counting.
#define org_blueberry_core_runtime_EXPORT