X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlookup.h;h=9af24af619bab410859b4c95a741e05fb248200c;hb=f65b7ff4ab2fe8ad0d9196c231064240e3fde81f;hp=5ed0e2e203dd23dfb2c03b561883b7c6ac89ccac;hpb=4b2a999762c83627476428e595d3c1e3704a3da0;p=lyx.git diff --git a/src/lyxlookup.h b/src/lyxlookup.h index 5ed0e2e203..9af24af619 100644 --- a/src/lyxlookup.h +++ b/src/lyxlookup.h @@ -12,20 +12,21 @@ 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 -#ifdef __GNUG__ -#pragma interface -#endif - +#include #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) +/// 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