| 1 |
/************************************************************ |
| 2 |
|
| 3 |
Copyright 1999 by Thomas E. Dickey <[email protected]> |
| 4 |
|
| 5 |
All Rights Reserved |
| 6 |
|
| 7 |
Permission is hereby granted, free of charge, to any person obtaining a |
| 8 |
copy of this software and associated documentation files (the |
| 9 |
"Software"), to deal in the Software without restriction, including |
| 10 |
without limitation the rights to use, copy, modify, merge, publish, |
| 11 |
distribute, sublicense, and/or sell copies of the Software, and to |
| 12 |
permit persons to whom the Software is furnished to do so, subject to |
| 13 |
the following conditions: |
| 14 |
|
| 15 |
The above copyright notice and this permission notice shall be included |
| 16 |
in all copies or substantial portions of the Software. |
| 17 |
|
| 18 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 19 |
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 20 |
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 21 |
IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY |
| 22 |
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 23 |
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 24 |
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 25 |
|
| 26 |
Except as contained in this notice, the name(s) of the above copyright |
| 27 |
holders shall not be used in advertising or otherwise to promote the |
| 28 |
sale, use or other dealings in this Software without prior written |
| 29 |
authorization. |
| 30 |
|
| 31 |
********************************************************/ |
| 32 |
|
| 33 |
#ifndef included_xmu_lookup_h |
| 34 |
#define included_xmu_lookup_h 1 |
| 35 |
|
| 36 |
#include <X11/Xlib.h> |
| 37 |
#include <X11/Xutil.h> |
| 38 |
|
| 39 |
extern int XmuLookupString( |
| 40 |
XKeyEvent *event, |
| 41 |
unsigned char *buffer, |
| 42 |
int nbytes, |
| 43 |
KeySym *keysym, |
| 44 |
XComposeStatus *status, |
| 45 |
unsigned long keysymSet); |
| 46 |
|
| 47 |
extern int XmuLookupLatin1( |
| 48 |
XKeyEvent *event, |
| 49 |
unsigned char *buffer, |
| 50 |
int nbytes, |
| 51 |
KeySym *keysym, |
| 52 |
XComposeStatus *status); |
| 53 |
|
| 54 |
extern int XmuLookupLatin2( |
| 55 |
XKeyEvent *event, |
| 56 |
unsigned char *buffer, |
| 57 |
int nbytes, |
| 58 |
KeySym *keysym, |
| 59 |
XComposeStatus *status); |
| 60 |
|
| 61 |
extern int XmuLookupLatin3( |
| 62 |
XKeyEvent *event, |
| 63 |
unsigned char *buffer, |
| 64 |
int nbytes, |
| 65 |
KeySym *keysym, |
| 66 |
XComposeStatus *status); |
| 67 |
|
| 68 |
extern int XmuLookupLatin4( |
| 69 |
XKeyEvent *event, |
| 70 |
unsigned char *buffer, |
| 71 |
int nbytes, |
| 72 |
KeySym *keysym, |
| 73 |
XComposeStatus *status); |
| 74 |
|
| 75 |
extern int XmuLookupKana( |
| 76 |
XKeyEvent *event, |
| 77 |
unsigned char *buffer, |
| 78 |
int nbytes, |
| 79 |
KeySym *keysym, |
| 80 |
XComposeStatus *status); |
| 81 |
|
| 82 |
extern int XmuLookupJISX0201( |
| 83 |
XKeyEvent *event, |
| 84 |
unsigned char *buffer, |
| 85 |
int nbytes, |
| 86 |
KeySym *keysym, |
| 87 |
XComposeStatus *status); |
| 88 |
|
| 89 |
extern int XmuLookupArabic( |
| 90 |
XKeyEvent *event, |
| 91 |
unsigned char *buffer, |
| 92 |
int nbytes, |
| 93 |
KeySym *keysym, |
| 94 |
XComposeStatus *status); |
| 95 |
|
| 96 |
extern int XmuLookupCyrillic( |
| 97 |
XKeyEvent *event, |
| 98 |
unsigned char *buffer, |
| 99 |
int nbytes, |
| 100 |
KeySym *keysym, |
| 101 |
XComposeStatus *status); |
| 102 |
|
| 103 |
extern int XmuLookupGreek( |
| 104 |
XKeyEvent *event, |
| 105 |
unsigned char *buffer, |
| 106 |
int nbytes, |
| 107 |
KeySym *keysym, |
| 108 |
XComposeStatus *status); |
| 109 |
|
| 110 |
extern int XmuLookupAPL( |
| 111 |
XKeyEvent *event, |
| 112 |
unsigned char *buffer, |
| 113 |
int nbytes, |
| 114 |
KeySym *keysym, |
| 115 |
XComposeStatus *status); |
| 116 |
|
| 117 |
extern int XmuLookupHebrew( |
| 118 |
XKeyEvent *event, |
| 119 |
unsigned char *buffer, |
| 120 |
int nbytes, |
| 121 |
KeySym *keysym, |
| 122 |
XComposeStatus *status); |
| 123 |
|
| 124 |
#endif /* included_xmu_lookup_h */ |