mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
83acbbd523
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
33 lines
975 B
C++
33 lines
975 B
C++
/* This file is part of -*- C++ -*-
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1995-2001 The LyX Team.
|
|
*
|
|
* ====================================================== */
|
|
|
|
/* 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. */
|
|
#ifndef LYXLOOKUP_H
|
|
#define LYXLOOKUP_H
|
|
|
|
#include <config.h>
|
|
#include <X11/Xlib.h>
|
|
|
|
/// Initialize the compose key handling
|
|
extern void InitLyXLookup(Display *, Window);
|
|
|
|
/// Read a keysym and/or a string (like XLookupString)
|
|
extern int LyXLookupString(XEvent * event,
|
|
char * buffer_return, int bytes_buffer,
|
|
KeySym * keysym_return);
|
|
|
|
/// Call this when you destroy your window
|
|
extern void CloseLyXLookup();
|
|
|
|
#endif
|