// -*- C++ -*-
-#ifndef _SPELLCHECKER_H
-#define _SPELLCHECKER_H
+/* 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
+
+#ifdef __GNUG__
+#pragma interface
+#endif
/* These functions are defined in lyx_cb.C */
-class LString;
-
-
-/** The returned word has to be deleted manually
- */
-char* NextWord(float &value);
-
-
-/** 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(LString const & replacestringstring);
-
+class BufferView;
/** This function has to be implemented by the spell checker.
- * It will show the spellcheker form*/
-void ShowSpellChecker();
+ It will show the spellcheker form*/
+void ShowSpellChecker(BufferView *);
///
void SpellCheckerOptions();