Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIShowInSource.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 BERRYISHOWINSOURCE_H
18 #define BERRYISHOWINSOURCE_H
19 
20 #include <berryObject.h>
21 
22 namespace berry {
23 
24 class ShowInContext;
25 
36 struct IShowInSource : public virtual Object
37 {
39 
40 
46  virtual SmartPointer<ShowInContext> GetShowInContext() const = 0;
47 };
48 
49 }
50 
51 Q_DECLARE_INTERFACE(berry::IShowInSource, "org.blueberry.ui.IShowInSource")
52 
53 #endif // BERRYISHOWINSOURCE_H
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
Implements transparent reference counting.
berryObjectMacro(berry::IShowInSource) virtual SmartPointer< ShowInContext > GetShowInContext() const =0