]> git.lyx.org Git - lyx.git/blob - src/lyxlookup.h
Small fix.
[lyx.git] / src / lyxlookup.h
1 /* This file is part of                   -*- C++ -*-
2 * ====================================================== 
3
4 *           LyX, The Document Processor
5 *        
6 *           Copyright 1995 Matthias Ettrich 
7 *           Copyright 1995-2000 The LyX Team.
8 *
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
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include <X11/Xlib.h>
21
22 // Initialize the compose key handling
23 extern void InitLyXLookup(Display *, Window ) ;
24
25 // Read a keysym and/or a string (like XLookupString)
26 extern int LyXLookupString(XEvent * event,    
27                            char * buffer_return, int bytes_buffer,
28                            KeySym * keysym_return);
29
30 // Call this when you destroy your window
31 extern void CloseLyXLookup();