X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fspellchecker.h;h=ed6af5c6e0f4de83b4c52d6009c9cc88822a5dff;hb=15271fce0705ea5611647b5b3d1e993362ff5284;hp=1487e025a05188b15d6caf7709dfb0e138615d1a;hpb=1d7d3cc4afa2205c801ccc2aa71c7ac59359dc5f;p=lyx.git diff --git a/src/spellchecker.h b/src/spellchecker.h index 1487e025a0..ed6af5c6e0 100644 --- a/src/spellchecker.h +++ b/src/spellchecker.h @@ -1,28 +1,28 @@ // -*- C++ -*- +/* This file is part of + * ====================================================== + * + * LyX, The Document Processor + * + * Copyright 1995 Matthias Ettrich + * Copyright 1995-2000 The LyX Team. + * + * ====================================================== */ + #ifndef SPELLCHECKER_H #define SPELLCHECKER_H -/* These functions are defined in lyx_cb.C */ - -/** The returned word has to be deleted manually - */ -char * NextWord(float & value); - +#ifdef __GNUG__ +#pragma interface +#endif -/** MarkLastWord should only be used immidiately after NextWord(). - If you give control back to the user, you _have_ to call EndOfSpellCheck() - or SelectLastWord(), otherwise segfaults should appear. - */ -void EndOfSpellCheck(); -/// -void SelectLastWord(); -/// -void ReplaceWord(string const & replacestringstring); +/* These functions are defined in lyx_cb.C */ +class BufferView; /** This function has to be implemented by the spell checker. It will show the spellcheker form*/ -void ShowSpellChecker(); +void ShowSpellChecker(BufferView *); /// void SpellCheckerOptions();