Medical Imaging Interaction Toolkit  2025.12.02
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 
59 
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_*/
Implements transparent reference counting.
#define BERRY_UI_QT
virtual IWorkbenchPartReference::Pointer GetActivePartReference()=0
virtual IWorkbenchPart::Pointer GetActivePart()=0
virtual ~IPartService()
virtual void AddPartListener(IPartListener *listener)=0
virtual void RemovePartListener(IPartListener *listener)=0