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 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)
 
MirInputEvent const * mir_event_get_input_event (MirEvent const *ev)
 
MirSurfaceEvent const * mir_event_get_surface_event (MirEvent const *ev)
 
MirResizeEvent const * mir_event_get_resize_event (MirEvent const *ev)
 
MirPromptSessionEvent const * mir_event_get_prompt_session_event (MirEvent const *ev)
 
MirOrientationEvent const * mir_event_get_orientation_event (MirEvent const *ev)
 
MirCloseSurfaceEvent const * mir_event_get_close_surface_event (MirEvent const *ev)
 
MirKeymapEvent const * mir_event_get_keymap_event (MirEvent const *ev)
 
MirInputConfigurationEvent const * mir_event_get_input_configuration_event (MirEvent const *ev)
 
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))
 
void mir_event_unref (MirEvent const *ev)
 

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015