X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlookup.h;h=7eadbdf7b3340151efd4e53abe77ec526be08476;hb=98c966c64594611e469313314abd1e59524adb4a;hp=bddac0f93e289a9b1072db661d66598173725da3;hpb=6fa667dbf2d8d3f2764a80f6de02d8b970f66bfa;p=lyx.git diff --git a/src/lyxlookup.h b/src/lyxlookup.h index bddac0f93e..7eadbdf7b3 100644 --- a/src/lyxlookup.h +++ b/src/lyxlookup.h @@ -1,28 +1,31 @@ /* This file is part of -*- C++ -*- * ====================================================== -* +* * LyX, The Document Processor -* -* Copyright (C) 1995-1997 Matthias Ettrich -* & The LyX team * -*======================================================*/ +* 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 -// 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, - char *buffer_return, int bytes_buffer, - KeySym *keysym_return); +/// 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