X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsp_pspell.h;h=5cd0266a821f386a7555b609042999438754dcc8;hb=06f9f0ea08ddcf13e99ea02cff21471aa2020c9e;hp=0833c8945e3fab3791b306e4e966c900c4e0e61a;hpb=0f18dddbd600f76e14d2e082a8bae0cf61961afe;p=lyx.git diff --git a/src/sp_pspell.h b/src/sp_pspell.h index 0833c8945e..5cd0266a82 100644 --- a/src/sp_pspell.h +++ b/src/sp_pspell.h @@ -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