Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berryISaveablesLifecycleListener.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 BERRYISAVEABLESLIFECYCLELISTENER_H_
15 #define BERRYISAVEABLESLIFECYCLELISTENER_H_
16 
18 
19 #include <berryMessage.h>
20 
21 namespace berry {
22 
47 struct ISaveablesLifecycleListener : public virtual Object
48 {
50 
51  struct Events {
53 
56 
57  private:
58 
60  };
61 
63 
69  virtual void HandleLifecycleEvent(const SaveablesLifecycleEvent::Pointer& event) = 0;
70 
71 };
72 
73 }
74 
75 Q_DECLARE_INTERFACE(berry::ISaveablesLifecycleListener, "org.blueberry.ui.ISaveablesLifecycleListener")
76 
77 #endif /* BERRYISAVEABLESLIFECYCLELISTENER_H_ */
berry::ISaveablesLifecycleListener::HandleLifecycleEvent
virtual void HandleLifecycleEvent(const SaveablesLifecycleEvent::Pointer &event)=0
berry::ISaveablesLifecycleListener::~ISaveablesLifecycleListener
~ISaveablesLifecycleListener() override
berry::SmartPointer< Self >
berryMessage.h
berry::Message1< const SaveablesLifecycleEvent::Pointer & >
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
berry::ISaveablesLifecycleListener
Definition: berryISaveablesLifecycleListener.h:47
berry::MessageDelegate1
Definition: berryMessage.h:170
berry::ISaveablesLifecycleListener::Events::AddListener
void AddListener(ISaveablesLifecycleListener *listener)
berrySaveablesLifecycleEvent.h
berry::ISaveablesLifecycleListener::Events::lifecycleChange
Message1< const SaveablesLifecycleEvent::Pointer & > lifecycleChange
Definition: berryISaveablesLifecycleListener.h:52
berry::ISaveablesLifecycleListener::Events
Definition: berryISaveablesLifecycleListener.h:51
berry::ISaveablesLifecycleListener::berryObjectMacro
berryObjectMacro(berry::ISaveablesLifecycleListener)
berry
Definition: QmitkPropertyItemModel.h:24
berry::ISaveablesLifecycleListener::Events::RemoveListener
void RemoveListener(ISaveablesLifecycleListener *listener)