Mir
Typedefs | Enumerations | Functions
event.h File Reference
#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/surface_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/input_configuration_event.h"
#include "mir_toolkit/events/surface_output_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
 

Enumerations

enum  MirEventType {
  MIR_DEPRECATED_ENUM =(mir_event_type_key, "mir_event_type_input") , MIR_DEPRECATED_ENUM =(mir_event_type_key, "mir_event_type_input") , MIR_DEPRECATED_ENUM =(mir_event_type_key, "mir_event_type_input") , mir_event_type_window = mir_event_type_surface ,
  mir_event_type_resize , mir_event_type_prompt_session_state_change , mir_event_type_orientation , MIR_DEPRECATED_ENUM =(mir_event_type_key, "mir_event_type_input") ,
  mir_event_type_close_window = mir_event_type_close_surface , mir_event_type_input , mir_event_type_keymap , MIR_DEPRECATED_ENUM =(mir_event_type_key, "mir_event_type_input") ,
  MIR_DEPRECATED_ENUM =(mir_event_type_key, "mir_event_type_input") , mir_event_type_window_output = mir_event_type_surface_output , mir_event_type_input_device_state , MIR_DEPRECATED_ENUM =(mir_event_type_key, "mir_event_type_input") ,
  mir_event_type_window_placement = mir_event_type_surface_placement
}
 

Functions

struct MirSurfaceEvent MirSurfaceEvent MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirWindowEvent instead")
 
struct MirCloseSurfaceEvent MirCloseSurfaceEvent MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirCloseWindowEvent instead")
 
struct MirInputConfigurationEvent MirInputConfigurationEvent MIR_FOR_REMOVAL_IN_VERSION_1 ("Use MirInputDeviceStateEvent and the MirInputConfig callback instead")
 
struct MirSurfaceOutputEvent MirSurfaceOutputEvent MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirWindowOutputEvent instead")
 
struct MirSurfacePlacementEvent MirSurfacePlacementEvent MIR_FOR_REMOVAL_IN_VERSION_1 ("use MirWindowPlacementEvent instead")
 
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...
 
MirSurfaceEvent const * mir_event_get_surface_event (MirEvent const *event) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_event_get_window_event instead")
 Retrieve the MirSurfaceEvent associated with a MirEvent of type mir_event_type_surface. 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...
 
MirCloseSurfaceEvent const * mir_event_get_close_surface_event (MirEvent const *event)
 Retrieve the MirCloseSurfaceEvent associated with a MirEvent of type mir_event_type_close_surface. 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...
 
MirInputConfigurationEvent const * mir_event_get_input_configuration_event (MirEvent const *event)
 Retrieve the MirInputConfig associated with a MirEvent of type mir_event_type_input_configuration. More...
 
MirSurfaceOutputEvent const * mir_event_get_surface_output_event (MirEvent const *event) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_event_get_window_output_event")
 Retrieve the MirSurfaceOutputEvent associated with a MirEvent of type mir_event_type_surface_output. 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...
 
MirSurfacePlacementEvent const * mir_event_get_surface_placement_event (MirEvent const *event) MIR_FOR_REMOVAL_IN_VERSION_1("use mir_event_get_window_placement_event")
 Retrieve the MirSurfacePlacementEvent associated with a MirEvent of type mir_event_type_surface_placement. 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-2022 Canonical Ltd.
Generated on Sun Oct 9 06:13:38 UTC 2022
This documentation is licensed under the GPL version 2 or 3.