Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
berryISaveablesLifecycleListener.h
Go to the documentation of this file.
1
/*===================================================================
2
3
BlueBerry Platform
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
18
#ifndef BERRYISAVEABLESLIFECYCLELISTENER_H_
19
#define BERRYISAVEABLESLIFECYCLELISTENER_H_
20
21
#include "
berrySaveablesLifecycleEvent.h
"
22
23
#include <
berryMessage.h
>
24
25
namespace
berry
{
26
51
struct
ISaveablesLifecycleListener
:
public
virtual
Object
52
{
53
berryObjectMacro
(
berry::ISaveablesLifecycleListener
)
54
55
struct Events {
56
Message1<const SaveablesLifecycleEvent::Pointer&>
lifecycleChange;
57
58
void
AddListener(
ISaveablesLifecycleListener
* listener);
59
void
RemoveListener(
ISaveablesLifecycleListener
* listener);
60
61
private
:
62
63
typedef
MessageDelegate1<ISaveablesLifecycleListener, const SaveablesLifecycleEvent::Pointer&>
Delegate;
64
};
65
66
virtual
~ISaveablesLifecycleListener
();
67
73
virtual
void
HandleLifecycleEvent
(
const
SaveablesLifecycleEvent::Pointer
& event) = 0;
74
75
};
76
77
}
78
79
Q_DECLARE_INTERFACE(
berry::ISaveablesLifecycleListener
,
"org.blueberry.ui.ISaveablesLifecycleListener"
)
80
81
#endif
/* BERRYISAVEABLESLIFECYCLELISTENER_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
berryMessage.h
berry::SmartPointer< Self >
berry::ISaveablesLifecycleListener::berryObjectMacro
berryObjectMacro(berry::ISaveablesLifecycleListener) struct Events
Definition:
berryISaveablesLifecycleListener.h:53
berry::ISaveablesLifecycleListener
Definition:
berryISaveablesLifecycleListener.h:51
berry::Message1
Definition:
berryMessage.h:791
berry::ISaveablesLifecycleListener::~ISaveablesLifecycleListener
virtual ~ISaveablesLifecycleListener()
Definition:
berryISaveablesLifecycleListener.cpp:39
berrySaveablesLifecycleEvent.h
berry::ISaveablesLifecycleListener::HandleLifecycleEvent
virtual void HandleLifecycleEvent(const SaveablesLifecycleEvent::Pointer &event)=0
berry::MessageDelegate1
Definition:
berryMessage.h:174
git
MITK
Plugins
org.blueberry.ui.qt
src
berryISaveablesLifecycleListener.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1