Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryIPageService.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 BERRYIPAGESERVICE_H_
15 #define BERRYIPAGESERVICE_H_
16 
18 
20 
21 namespace berry {
22 
23 struct IWorkbenchPage;
24 
45 
46  virtual ~IPageService();
47 
60  virtual void AddPerspectiveListener(IPerspectiveListener* listener) = 0;
61 
67  virtual SmartPointer<IWorkbenchPage> GetActivePage() const = 0;
68 
75  virtual void RemovePerspectiveListener(IPerspectiveListener* listener) = 0;
76 
77  virtual IPerspectiveListener::Events& GetPerspectiveEvents() = 0;
78 };
79 
80 }
81 
82 Q_DECLARE_INTERFACE(berry::IPageService, "org.blueberry.ui.IPageService")
83 
84 #endif /* BERRYIPAGESERVICE_H_ */
org_blueberry_ui_qt_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::IPerspectiveListener::Events
Definition: berryIPerspectiveListener.h:39
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berryIPerspectiveListener.h
berry::IPerspectiveListener
Definition: berryIPerspectiveListener.h:36
berry::IPageService
Definition: berryIPageService.h:44
berry
Definition: QmitkPropertyItemModel.h:24