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