]> git.lyx.org Git - lyx.git/blobdiff - src/sp_pspell.h
OK I'll try guii1 again ...
[lyx.git] / src / sp_pspell.h
index 0833c8945e3fab3791b306e4e966c900c4e0e61a..5cd0266a821f386a7555b609042999438754dcc8 100644 (file)
@@ -15,15 +15,15 @@ class PSpell : public SpellBase
   public:
 
     PSpell();
-    
+
     PSpell(BufferParams const & params, string const & lang);
-    
+
     ~PSpell();
 
     /// initialize spell checker
     void initialize(BufferParams const & params, string const & lang);
 
-    bool alive() { return true; }
+    bool alive() { return alive_; }
 
     /// clean up after error
     void cleanUp();
@@ -40,17 +40,15 @@ class PSpell : 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:
 
     PspellManager * sc;
-    
+
     PspellStringEmulation * els;
 
     PspellCanHaveError * spell_error_object;
@@ -58,9 +56,8 @@ class PSpell : public SpellBase
     spellStatus flag;
 
     const char * error_;
-   
-};
-   
-#endif
 
+    bool alive_;
+};
 
+#endif