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