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
berryIContributionManagerOverrides.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 
18 #ifndef BERRYICONTRIBUTIONMANAGEROVERRIDES_H
19 #define BERRYICONTRIBUTIONMANAGEROVERRIDES_H
20 
21 #include <berryMacros.h>
22 #include <berryObject.h>
23 
25 
26 namespace berry {
27 
28 struct IContributionItem;
29 
42 {
43 
45 
46 
49  static const QString P_ENABLED;
50 
62  virtual int GetEnabled(const IContributionItem* item) const = 0;
63 
74  virtual int GetVisible(const IContributionItem* item) const = 0;
75 };
76 
77 }
78 
79 #endif // BERRYICONTRIBUTIONMANAGEROVERRIDES_H
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT