Mir
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
include
client
mir_toolkit
events
keymap_event.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2014 Canonical Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License version 3,
6
* as published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Authored by: Robert Carr <robert.carr@canonical.com>
17
*/
18
19
#ifndef MIR_TOOLKIT_EVENTS_KEYMAP_EVENT_H_
20
#define MIR_TOOLKIT_EVENTS_KEYMAP_EVENT_H_
21
22
#include <
mir_toolkit/events/event.h
>
23
24
#include <xkbcommon/xkbcommon.h>
25
26
#ifdef __cplusplus
27
31
extern
"C"
{
32
#endif
33
34
/*
35
* Retrieve the new keymap reported by this MirKeymapEvent
36
*
37
* \param[in] ev The keymap event
38
* \param[out] rules XKB rules describing the new keymap.
39
*/
40
void
mir_keymap_event_get_rules
(
MirKeymapEvent
const
* ev,
41
struct
xkb_rule_names* names);
42
43
#ifdef __cplusplus
44
}
46
#endif
47
48
#endif
/* MIR_TOOLKIT_KEYMAP_EVENT_H_ */
MirKeymapEvent
Definition:
event_private.h:159
mir_keymap_event_get_rules
void mir_keymap_event_get_rules(MirKeymapEvent const *ev, struct xkb_rule_names *names)
Definition:
event.cpp:205
event.h
Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015