]> git.lyx.org Git - lyx.git/blobdiff - src/spellchecker.h
Small fix.
[lyx.git] / src / spellchecker.h
index 87c8fe415539b87f1a4a82255e472620b2e10fa8..8593ff6e6399493c60247cd662d71b4f622edbbf 100644 (file)
@@ -1,31 +1,36 @@
 // -*- 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);
-
+class BufferView;
 
 /** 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 EndOfSpellCheck();
 ///
-void ReplaceWord(LString const & replacestringstring);
-
+//void SelectLastWord();
 
 /** 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();