]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/lyxlookup.h
Really dull and boring header shit
[lyx.git] / src / frontends / xforms / lyxlookup.h
1 /**
2  * \file lyxlookup.h
3  * Read the file COPYING
4  *
5  * \author unknown
6  *
7  * Full author contact details are available in file CREDITS
8  */
9
10 /* This header file defines wrappers around the X input method related
11    functions. This should probably be moved into LyXView (to have
12    different input methods for different frames, but for now we can
13    keep it as it is. */
14 #ifndef LYXLOOKUP_H
15 #define LYXLOOKUP_H
16
17 #include <X11/Xlib.h>
18
19 /// Initialize the compose key handling
20 extern void InitLyXLookup(Display *, Window);
21
22 /// Read a keysym and/or a string (like XLookupString)
23 extern int LyXLookupString(XEvent * event,
24                            char * buffer_return, int bytes_buffer,
25                            KeySym * keysym_return);
26
27 /// Call this when you destroy your window
28 extern void CloseLyXLookup();
29
30 #endif