X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fispell.h;h=0fe77a15bc261f46b60e92dfdb897675b36b5d71;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=e33d848cb7ee915587db37705882c6fc294d5228;hpb=1b264d6f7dd66d3824c2dd4649cf5b0cd2e3fe48;p=lyx.git diff --git a/src/ispell.h b/src/ispell.h index e33d848cb7..0fe77a15bc 100644 --- a/src/ispell.h +++ b/src/ispell.h @@ -15,16 +15,17 @@ #include "SpellBase.h" +#include "support/docstring.h" + #include #include -class BufferParams; namespace lyx { -namespace support { -class ForkedProcess; -} -} + +class BufferParams; + +namespace support { class ForkedProcess; } /// i/a spell process-based spellchecker class ISpell : public SpellBase { @@ -49,7 +50,7 @@ public: virtual std::string const nextMiss(); /// give an error message on messy exit - virtual std::string const error(); + virtual docstring const error(); private: /// read some data. Returns true on an error. Sets err_read @@ -72,9 +73,9 @@ private: char buf[BUFSIZ]; /// spell error - std::string error_; + docstring error_; - boost::scoped_ptr child_; + boost::scoped_ptr child_; // vileness below ... please FIXME /// str ??? @@ -84,4 +85,6 @@ private: }; +} // namespace lyx + #endif // ISPELL_H