Medical Imaging Interaction Toolkit  2021.10.99-fd647480
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_ */
Implements transparent reference counting.
#define BERRY_UI_QT