Medical Imaging Interaction Toolkit  2018.4.99-a28b433c
Medical Imaging Interaction Toolkit
berryIPartService.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 #ifndef BERRYIPARTSERVICE_H_
14 #define BERRYIPARTSERVICE_H_
15 
17 
18 #include "berryIWorkbenchPart.h"
20 #include "berryIPartListener.h"
21 
22 namespace berry {
23 
36 
37  virtual ~IPartService();
38 
51  virtual void AddPartListener(IPartListener* listener) = 0;
52 
58  virtual IWorkbenchPart::Pointer GetActivePart() = 0;
59 
66  virtual IWorkbenchPartReference::Pointer GetActivePartReference() = 0;
67 
74  virtual void RemovePartListener(IPartListener* listener) = 0;
75 
76 };
77 
78 } // namespace berry
79 
80 Q_DECLARE_INTERFACE(berry::IPartService, "org.blueberry.ui.IPartService")
81 
82 #endif /*BERRYIPARTSERVICE_H_*/
#define BERRY_UI_QT