2018-11-30 22:52:05 +03:00
|
|
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2002-04-27 20:26:10 +04:00
|
|
|
/* vim:expandtab:shiftwidth=4:tabstop=4:
|
|
|
|
*/
|
2001-12-12 06:03:05 +03:00
|
|
|
/*
|
|
|
|
*
|
2012-05-21 15:12:37 +04:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2001-12-12 06:03:05 +03:00
|
|
|
/*
|
|
|
|
* This module converts keysym values into the corresponding ISO 10646-1
|
|
|
|
* (UCS, Unicode) values.
|
|
|
|
*/
|
|
|
|
|
2008-08-07 00:48:55 +04:00
|
|
|
#ifdef MOZ_X11
|
2001-12-12 06:03:05 +03:00
|
|
|
# include <X11/X.h>
|
2008-08-07 00:48:55 +04:00
|
|
|
#else
|
|
|
|
# define KeySym unsigned int
|
|
|
|
#endif /* MOZ_X11 */
|
2001-12-12 06:03:05 +03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
long keysym2ucs(KeySym keysym);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|