Mir
Typedefs | Enumerations | Functions
event.h File Reference
#include <stddef.h>
#include <stdint.h>
#include "mir_toolkit/common.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/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 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 MirSurfaceEvent
 
typedef struct MirResizeEvent MirResizeEvent
 
typedef struct MirPromptSessionEvent MirPromptSessionEvent
 
typedef struct MirOrientationEvent MirOrientationEvent
 
typedef struct MirCloseSurfaceEvent MirCloseSurfaceEvent
 
typedef struct MirInputEvent MirInputEvent
 
typedef struct MirKeymapEvent MirKeymapEvent
 
typedef struct MirInputConfigurationEvent MirInputConfigurationEvent
 
typedef struct MirSurfaceOutputEvent MirSurfaceOutputEvent
 
typedef struct MirCookie MirCookie
 
typedef union MirEvent MirEvent
 

Enumerations

enum  MirEventType {
  mir_event_type_key, mir_event_type_motion, mir_event_type_surface, mir_event_type_resize,
  mir_event_type_prompt_session_state_change, mir_event_type_orientation, mir_event_type_close_surface, mir_event_type_input,
  mir_event_type_keymap, mir_event_type_input_configuration, mir_event_type_surface_output
}
 

Functions

MirEventType mir_event_get_type (MirEvent const *ev)
 Retrieves the type of a MirEvent. More...
 
MirInputEvent const * mir_event_get_input_event (MirEvent const *ev)
 Retrieve the MirInputEvent associated with a MirEvent of type mir_event_type_input. More...
 
MirSurfaceEvent const * mir_event_get_surface_event (MirEvent const *ev)
 Retrieve the MirSurfaceEvent associated with a MirEvent of type mir_event_type_surface. More...
 
MirResizeEvent const * mir_event_get_resize_event (MirEvent const *ev)
 Retrieve the MirResizeEvent associated with a MirEvent of type mir_event_type_resize. More...
 
MirPromptSessionEvent const * mir_event_get_prompt_session_event (MirEvent const *ev)
 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 *ev)
 Retrieve the MirOrientationEvent associated with a MirEvent of type mir_event_type_orientation. More...
 
 __attribute__ ((deprecated)) MirCloseSurfaceEvent const *mir_event_get_close_surface_event(MirEvent const *ev)
 Retrieve the MirCloseSurfaceEvent associated with a MirEvent of type mir_event_type_close_surface. More...
 
MirKeymapEvent const * mir_event_get_keymap_event (MirEvent const *ev)
 Retrieve the MirKeymapEvent associated with a MirEvent of type mir_event_type_keymap. More...
 
MirInputConfigurationEvent const * mir_event_get_input_configuration_event (MirEvent const *ev)
 Retrieve the MirInputConfiguration associated with a MirEvent of type mir_event_type_input_configuration. More...
 
MirSurfaceOutputEvent const * mir_event_get_surface_output_event (MirEvent const *ev)
 Retrieve the MirSurfaceOutputEvent associated with a MirEvent of type mir_event_type_surface_output. More...
 
MirEvent const * mir_event_ref (MirEvent const *ev) __attribute__((warn_unused_result))
 Reference this MirEvent and return a pointer to the newly referenced instance. More...
 
void mir_event_unref (MirEvent const *ev)
 Release a reference to a MirEvent. More...
 

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016