|
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
|
2 /* vim:expandtab:shiftwidth=4:tabstop=4: |
|
3 */ |
|
4 /* |
|
5 * |
|
6 * This Source Code Form is subject to the terms of the Mozilla Public |
|
7 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
8 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
9 /* |
|
10 * This module converts keysym values into the corresponding ISO 10646-1 |
|
11 * (UCS, Unicode) values. |
|
12 */ |
|
13 |
|
14 #ifdef MOZ_X11 |
|
15 #include <X11/X.h> |
|
16 #else |
|
17 #define KeySym unsigned int |
|
18 #endif /* MOZ_X11 */ |
|
19 |
|
20 #ifdef __cplusplus |
|
21 extern "C" { |
|
22 #endif |
|
23 |
|
24 long keysym2ucs(KeySym keysym); |
|
25 |
|
26 #ifdef __cplusplus |
|
27 } /* extern "C" */ |
|
28 #endif |
|
29 |
|
30 |
|
31 |