]> git.lyx.org Git - lyx.git/blob - src/SpellBase.cpp
* docstream: factorize out some code and introduce odocfstream::reset()
[lyx.git] / src / SpellBase.cpp
1 /**
2  * \file SpellBase.cpp
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author unknown
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #include <config.h>
13
14 #include "SpellBase.h"
15 #include "support/gettext.h"
16 #include "support/docstring.h"
17
18
19 namespace lyx {
20
21 using std::string;
22
23
24 bool SpellBase::alive()
25 {
26         return false;
27 }
28
29
30 SpellBase::Result SpellBase::check(WordLangTuple const &)
31 {
32         return UNKNOWN_WORD;
33 }
34
35
36 void SpellBase::insert(WordLangTuple const &)
37 {}
38
39
40 void SpellBase::accept(WordLangTuple const &)
41 {}
42
43
44 docstring const SpellBase::nextMiss()
45 {
46         return docstring();
47 }
48
49
50 docstring const SpellBase::error()
51 {
52         return _("Native OS API not yet supported.");
53 }
54
55
56 } // namespace lyx