Free Electron
EventMapI.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __viewer_EventMapI_h__
8 #define __viewer_EventMapI_h__
9 
10 #include "window/WindowEvent.h"
11 
12 namespace fe
13 {
14 namespace ext
15 {
16 
17 
18 /** Interface for binding a WindowEvent to an event mapped Layout. */
19 class FE_DL_EXPORT EventMapI : virtual public Component
20 {
21  public:
22 virtual void bind( WindowEvent::Source source,
23  WindowEvent::Item item,
24  WindowEvent::State state,
25  sp<Layout> resultSignalLayout) = 0;
26 };
27 
28 
29 } /* namespace ext */
30 } /* namespace fe */
31 
32 #endif /* __viewer_EventMapI_h__ */
Item
Aspect of change in a window event.
Definition: WindowEvent.h:80
kernel
Definition: namespace.dox:3
Source
Source of a window event.
Definition: WindowEvent.h:58
State
Effect of change in a window event.
Definition: WindowEvent.h:194
Interface for binding a WindowEvent to an event mapped Layout.
Definition: EventMapI.h:19
Base for all interfacable components.
Definition: Component.h:20