X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlookup.h;h=7eadbdf7b3340151efd4e53abe77ec526be08476;hb=98c966c64594611e469313314abd1e59524adb4a;hp=5ed0e2e203dd23dfb2c03b561883b7c6ac89ccac;hpb=4b2a999762c83627476428e595d3c1e3704a3da0;p=lyx.git diff --git a/src/lyxlookup.h b/src/lyxlookup.h index 5ed0e2e203..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,20 +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. */ - -#ifdef __GNUG__ -#pragma interface -#endif +#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