Mir
Typedefs | Functions
event.h File Reference
#include <mir_toolkit/events/enums.h>
#include <stddef.h>
#include <stdint.h>
#include "mir_toolkit/common.h"
#include <mir_toolkit/deprecations.h>
#include "mir_toolkit/events/input/input_event.h"
#include "mir_toolkit/events/resize_event.h"
#include "mir_toolkit/events/window_event.h"
#include "mir_toolkit/events/orientation_event.h"
#include "mir_toolkit/events/prompt_session_event.h"
#include "mir_toolkit/events/keymap_event.h"
#include "mir_toolkit/events/window_output_event.h"
#include "mir_toolkit/events/input_device_state_event.h"
Include dependency graph for event.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct MirSurfaceEvent MirWindowEvent
 
typedef struct MirResizeEvent MirResizeEvent
 
typedef struct MirPromptSessionEvent MirPromptSessionEvent
 
typedef struct MirOrientationEvent MirOrientationEvent
 
typedef struct MirCloseSurfaceEvent MirCloseWindowEvent
 
typedef struct MirInputEvent MirInputEvent
 
typedef struct MirKeymapEvent MirKeymapEvent
 
typedef struct MirSurfaceOutputEvent MirWindowOutputEvent
 
typedef struct MirInputDeviceStateEvent MirInputDeviceStateEvent
 
typedef struct MirSurfacePlacementEvent MirWindowPlacementEvent
 
typedef struct MirCookie MirCookie
 
typedef struct MirEvent MirEvent
 

Functions

MirEventType mir_event_get_type (MirEvent const *event)
 Retrieves the type of a MirEvent. More...
 
MirInputEvent const * mir_event_get_input_event (MirEvent const *event)
 Retrieve the MirInputEvent associated with a MirEvent of type mir_event_type_input. More...
 
MirWindowEvent const * mir_event_get_window_event (MirEvent const *event)
 Retrieve the MirWindowEvent associated with a MirEvent of type mir_event_type_window. More...
 
MirResizeEvent const * mir_event_get_resize_event (MirEvent const *event)
 Retrieve the MirResizeEvent associated with a MirEvent of type mir_event_type_resize. More...
 
MirPromptSessionEvent const * mir_event_get_prompt_session_event (MirEvent const *event)
 Retrieve the MirPromptSessionEvent associated with a MirEvent of type mir_event_type_prompt_session_state_change. More...
 
MirOrientationEvent const * mir_event_get_orientation_event (MirEvent const *event)
 Retrieve the MirOrientationEvent associated with a MirEvent of type mir_event_type_orientation. More...
 
MirKeymapEvent const * mir_event_get_keymap_event (MirEvent const *event)
 Retrieve the MirKeymapEvent associated with a MirEvent of type mir_event_type_keymap. More...
 
MirWindowOutputEvent const * mir_event_get_window_output_event (MirEvent const *event)
 Retrieve the MirWindowOutputEvent associated with a MirEvent of type mir_event_type_window_output. More...
 
MirInputDeviceStateEvent const * mir_event_get_input_device_state_event (MirEvent const *event)
 Retrieve the MirInputDeviceStateEvent associated with a MirEvent of type mir_event_type_input_device_state. More...
 
MirWindowPlacementEvent const * mir_event_get_window_placement_event (MirEvent const *event)
 Retrieve the MirWindowPlacementEvent associated with a MirEvent of type mir_event_type_window_placement. More...
 
MirEvent const * mir_event_ref (MirEvent const *event) __attribute__((warn_unused_result))
 Reference this MirEvent and return a pointer to the newly referenced instance. More...
 
void mir_event_unref (MirEvent const *event)
 Release a reference to a MirEvent. More...
 

Copyright © 2012-2021 Canonical Ltd.
Generated on Thu Jun 17 07:34:44 UTC 2021
This documentation is licensed under the GPL version 2 or 3.