Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 AddPageListener(IPageListener listener);
61 
74  virtual void AddPerspectiveListener(IPerspectiveListener* listener) = 0;
75 
81  virtual SmartPointer<IWorkbenchPage> GetActivePage() const = 0;
82 
89  //virtual void RemovePageListener(IPageListener listener);
90 
97  virtual void RemovePerspectiveListener(IPerspectiveListener* listener) = 0;
98 
99  virtual IPerspectiveListener::Events& GetPerspectiveEvents() = 0;
100 };
101 
102 }
103 
104 Q_DECLARE_INTERFACE(berry::IPageService, "org.blueberry.ui.IPageService")
105 
106 #endif /* BERRYIPAGESERVICE_H_ */
Implements transparent reference counting.
#define BERRY_UI_QT