widget/shared/x11/keysym2ucs.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/widget/shared/x11/keysym2ucs.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     1.5 +/* vim:expandtab:shiftwidth=4:tabstop=4:
     1.6 + */
     1.7 +/*
     1.8 + *
     1.9 + * This Source Code Form is subject to the terms of the Mozilla Public
    1.10 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    1.11 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
    1.12 +/*
    1.13 + * This module converts keysym values into the corresponding ISO 10646-1
    1.14 + * (UCS, Unicode) values.
    1.15 + */
    1.16 +
    1.17 +#ifdef MOZ_X11
    1.18 +#include <X11/X.h>
    1.19 +#else
    1.20 +#define KeySym unsigned int
    1.21 +#endif /* MOZ_X11 */
    1.22 +
    1.23 +#ifdef __cplusplus
    1.24 +extern "C" { 
    1.25 +#endif
    1.26 +
    1.27 +long keysym2ucs(KeySym keysym); 
    1.28 +
    1.29 +#ifdef __cplusplus
    1.30 +} /* extern "C" */
    1.31 +#endif
    1.32 +
    1.33 +
    1.34 +

mercurial