Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIContributionRoot.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 BERRYICONTRIBUTIONROOT_H
19 #define BERRYICONTRIBUTIONROOT_H
20 
21 #include <berryObject.h>
22 
23 namespace berry {
24 
25 struct IContributionItem;
26 
27 class Expression;
28 
35 struct IContributionRoot : public Object
36 {
38 
39 
50  virtual void AddContributionItem(const SmartPointer<IContributionItem>& item,
52 
67 };
68 
69 }
70 
71 #endif // BERRYICONTRIBUTIONROOT_H
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
Implements transparent reference counting.
berryObjectMacro(berry::IContributionRoot) virtual void AddContributionItem(const SmartPointer< IContributionItem > &item
virtual void RegisterVisibilityForChild(const SmartPointer< IContributionItem > &item, const SmartPointer< Expression > &visibleWhen)=0
const SmartPointer< Expression > & visibleWhen