Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIPageService.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 BERRYIPAGESERVICE_H_
19 #define BERRYIPAGESERVICE_H_
20 
22 
24 
25 namespace berry {
26 
27 struct IWorkbenchPage;
28 
49 
50  virtual ~IPageService();
51 
64  //virtual void AddPageListener(IPageListener listener);
65 
78  virtual void AddPerspectiveListener(IPerspectiveListener* listener) = 0;
79 
85  virtual SmartPointer<IWorkbenchPage> GetActivePage() const = 0;
86 
93  //virtual void RemovePageListener(IPageListener listener);
94 
101  virtual void RemovePerspectiveListener(IPerspectiveListener* listener) = 0;
102 
103  virtual IPerspectiveListener::Events& GetPerspectiveEvents() = 0;
104 };
105 
106 }
107 
108 Q_DECLARE_INTERFACE(berry::IPageService, "org.blueberry.ui.IPageService")
109 
110 #endif /* BERRYIPAGESERVICE_H_ */
Implements transparent reference counting.
#define BERRY_UI_QT