X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlookup.h;h=7eadbdf7b3340151efd4e53abe77ec526be08476;hb=98c966c64594611e469313314abd1e59524adb4a;hp=582a13db35a144b1f93ddc5fc202f5f6ffc0d03d;hpb=132fe5e1322fbc86a32692df51eba78d6b4e479c;p=lyx.git diff --git a/src/lyxlookup.h b/src/lyxlookup.h index 582a13db35..7eadbdf7b3 100644 --- a/src/lyxlookup.h +++ b/src/lyxlookup.h @@ -1,10 +1,10 @@ /* This file is part of -*- C++ -*- -* ====================================================== -* +* ====================================================== +* * LyX, The Document Processor -* -* Copyright 1995 Matthias Ettrich -* Copyright 1995-2000 The LyX Team. +* +* Copyright 1995 Matthias Ettrich +* Copyright 1995-2001 The LyX Team. * * ====================================================== */ @@ -12,16 +12,20 @@ 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 -// Initialize the compose key handling -extern void InitLyXLookup(Display *, Window ) ; +/// Initialize the compose key handling +extern void InitLyXLookup(Display *, Window); -// Read a keysym and/or a string (like XLookupString) -extern int LyXLookupString(XEvent * event, +/// 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 +/// Call this when you destroy your window extern void CloseLyXLookup(); + +#endif