Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
Medical Imaging Interaction Toolkit
berryIContributionManagerOverrides.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 
14 #ifndef BERRYICONTRIBUTIONMANAGEROVERRIDES_H
15 #define BERRYICONTRIBUTIONMANAGEROVERRIDES_H
16 
17 #include <berryMacros.h>
18 #include <berryObject.h>
19 
21 
22 namespace berry {
23 
24 struct IContributionItem;
25 
36 {
37 
39 
43  static const QString P_ENABLED;
44 
55  virtual int GetEnabled(const IContributionItem* item) const = 0;
56 
67  virtual int GetVisible(const IContributionItem* item) const = 0;
68 };
69 
70 }
71 
72 #endif // BERRYICONTRIBUTIONMANAGEROVERRIDES_H
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
#define berryObjectMacro(...)
Definition: berryMacros.h:33
#define BERRY_UI_QT