2005-05-02 13:35:30 +00:00
|
|
|
/**
|
2007-04-26 04:41:58 +00:00
|
|
|
* \file SpellBase.cpp
|
2005-05-02 13:35:30 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author unknown
|
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include "SpellBase.h"
|
2007-11-29 07:04:28 +00:00
|
|
|
#include "support/gettext.h"
|
2007-10-31 22:40:34 +00:00
|
|
|
#include "support/docstring.h"
|
2005-05-02 13:35:30 +00:00
|
|
|
|
2007-12-12 10:16:00 +00:00
|
|
|
using namespace std;
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
namespace lyx {
|
2006-09-11 08:54:10 +00:00
|
|
|
|
2005-05-02 13:35:30 +00:00
|
|
|
|
|
|
|
bool SpellBase::alive()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SpellBase::Result SpellBase::check(WordLangTuple const &)
|
|
|
|
{
|
|
|
|
return UNKNOWN_WORD;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void SpellBase::insert(WordLangTuple const &)
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
void SpellBase::accept(WordLangTuple const &)
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
2006-12-08 19:46:16 +00:00
|
|
|
docstring const SpellBase::nextMiss()
|
2005-05-02 13:35:30 +00:00
|
|
|
{
|
2006-12-08 19:46:16 +00:00
|
|
|
return docstring();
|
2005-05-02 13:35:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-09-11 08:54:10 +00:00
|
|
|
docstring const SpellBase::error()
|
2005-05-02 13:35:30 +00:00
|
|
|
{
|
2006-09-11 08:54:10 +00:00
|
|
|
return _("Native OS API not yet supported.");
|
2005-05-02 13:35:30 +00:00
|
|
|
}
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
} // namespace lyx
|