]> git.lyx.org Git - lyx.git/blobdiff - src/sp_ispell.h
add missing typename
[lyx.git] / src / sp_ispell.h
index aad831cb0f7c5fcc9a7bbdb509b6c29e60a7c557..62a5958627cbb65739961c8f991e4784ab081bb2 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef SP_ISPELL_H
 #define SP_ISPELL_H
 
+#include <cstdio>
+
 #include "sp_base.h"
 
 class BufferParams;
@@ -11,14 +13,14 @@ class ISpell : public SpellBase
   public:
 
     enum ActualSpellChecker {
-       ASC_ISPELL,
-       ASC_ASPELL
+               ASC_ISPELL,
+               ASC_ASPELL
     };
-    
+
     ISpell();
-    
+
     ISpell(BufferParams const & params, string const & lang);
-    
+
     ~ISpell();
 
 
@@ -42,16 +44,14 @@ class ISpell : public SpellBase
 
     /// store replacement
     void store(string const & mis, string const & cor);
-     
-    void sigchldhandler(pid_t pid, int *status);
 
     char const * nextMiss();
 
     char const * error();
-   
+
   private:
 
-    ActualSpellChecker actual_spell_checker;   
+    ActualSpellChecker actual_spell_checker;
 
     /// instream to communicate with ispell
     FILE * in;
@@ -73,9 +73,7 @@ class ISpell : public SpellBase
     char * b;
     ///
     char * e;
-   
-};
-   
-#endif
 
+};
 
+#endif