Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
berryIProduct.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 BERRYIPRODUCT_H
18 #define BERRYIPRODUCT_H
19 
21 
22 #include <berryObject.h>
23 
24 #include <QString>
25 #include <QSharedPointer>
26 
27 class ctkPlugin;
28 
29 namespace berry {
30 
47 {
49 
50  virtual ~IProduct();
51 
58  virtual QString GetApplication() const = 0;
59 
66  virtual QString GetName() const = 0;
67 
73  virtual QString GetDescription() const = 0;
74 
79  virtual QString GetId() const = 0;
80 
88  virtual QString GetProperty(const QString& key) const = 0;
89 
97  virtual QSharedPointer<ctkPlugin> GetDefiningPlugin() const = 0;
98 };
99 
100 }
101 
102 #endif // BERRYIPRODUCT_H
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define org_blueberry_core_runtime_EXPORT
#define berryObjectMacro(...)
Definition: berryMacros.h:37
static std::string GetName(std::string fileName, std::string suffix)