Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
Medical Imaging Interaction Toolkit
berryIContributionRoot.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 BERRYICONTRIBUTIONROOT_H
15 #define BERRYICONTRIBUTIONROOT_H
16 
17 #include <berryObject.h>
18 
19 namespace berry {
20 
21 struct IContributionItem;
22 
23 class Expression;
24 
31 struct IContributionRoot : public Object
32 {
34 
47  const SmartPointer<Expression>& visibleWhen) = 0;
48 
62  const SmartPointer<Expression>& visibleWhen) = 0;
63 };
64 
65 }
66 
67 #endif // BERRYICONTRIBUTIONROOT_H
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
Implements transparent reference counting.
virtual void RegisterVisibilityForChild(const SmartPointer< IContributionItem > &item, const SmartPointer< Expression > &visibleWhen)=0
berryObjectMacro(berry::IContributionRoot)
virtual void AddContributionItem(const SmartPointer< IContributionItem > &item, const SmartPointer< Expression > &visibleWhen)=0