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
berryIWorkbenchSite.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 BERRYIWORKBENCHSITE_H_
18 #define BERRYIWORKBENCHSITE_H_
19 
20 #include <berryMacros.h>
21 
23 
25 
26 namespace berry {
27 
28 struct IWorkbenchPage;
29 struct ISelectionProvider;
30 struct IWorkbenchWindow;
31 class Shell;
32 
61 struct BERRY_UI_QT IWorkbenchSite : public IServiceLocator { // IAdaptable, IShellProvider {
62 
64 
65  virtual ~IWorkbenchSite();
66 
72  virtual SmartPointer<IWorkbenchPage> GetPage() = 0;
73 
79  virtual SmartPointer<ISelectionProvider> GetSelectionProvider() = 0;
80 
88  virtual SmartPointer<Shell> GetShell() = 0;
89 
95  virtual SmartPointer<IWorkbenchWindow> GetWorkbenchWindow() = 0;
96 
103  virtual void SetSelectionProvider(SmartPointer<ISelectionProvider> provider) = 0;
104 
105 };
106 
107 }
108 
109 #endif /*BERRYIWORKBENCHSITE_H_*/
Implements transparent reference counting.
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT