1999-09-27 18:44:28 +00:00
|
|
|
/* This file is part of -*- C++ -*-
|
1999-11-15 12:01:38 +00:00
|
|
|
* ======================================================
|
1999-09-27 18:44:28 +00:00
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
2000-03-09 03:36:48 +00:00
|
|
|
* Copyright 1995 Matthias Ettrich
|
|
|
|
* Copyright 1995-2000 The LyX Team.
|
1999-09-27 18:44:28 +00:00
|
|
|
*
|
1999-11-15 12:01:38 +00:00
|
|
|
* ====================================================== */
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
/* This header file defines wrappers around the X input method related
|
|
|
|
functions. This should probably be moved into LyXView (to have
|
|
|
|
different input methods for different frames, but for now we can
|
|
|
|
keep it as it is. */
|
2000-12-06 09:49:54 +00:00
|
|
|
#ifndef LYXLOOKUP_H
|
|
|
|
#define LYXLOOKUP_H
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2000-11-02 04:48:34 +00:00
|
|
|
#include <config.h>
|
2000-12-06 09:49:54 +00:00
|
|
|
#include <X11/Xlib.h>
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2000-08-07 20:58:24 +00:00
|
|
|
/// Initialize the compose key handling
|
2000-12-06 09:49:54 +00:00
|
|
|
extern void InitLyXLookup(Display *, Window);
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2000-08-07 20:58:24 +00:00
|
|
|
/// Read a keysym and/or a string (like XLookupString)
|
1999-11-22 16:19:48 +00:00
|
|
|
extern int LyXLookupString(XEvent * event,
|
|
|
|
char * buffer_return, int bytes_buffer,
|
|
|
|
KeySym * keysym_return);
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2000-08-07 20:58:24 +00:00
|
|
|
/// Call this when you destroy your window
|
1999-09-27 18:44:28 +00:00
|
|
|
extern void CloseLyXLookup();
|
2000-12-06 09:49:54 +00:00
|
|
|
|
2000-11-02 04:48:34 +00:00
|
|
|
#endif
|