forked from mia/Aegisub
Fix tests compilation
This commit is contained in:
parent
426e4593c7
commit
134fe60517
1 changed files with 2 additions and 0 deletions
|
@ -19,7 +19,9 @@
|
||||||
|
|
||||||
class MockSpellChecker : public agi::SpellChecker {
|
class MockSpellChecker : public agi::SpellChecker {
|
||||||
void AddWord(std::string const&) { }
|
void AddWord(std::string const&) { }
|
||||||
|
void RemoveWord(std::string const&) { }
|
||||||
bool CanAddWord(std::string const&) { return false; }
|
bool CanAddWord(std::string const&) { return false; }
|
||||||
|
bool CanRemoveWord(std::string const&) { return false; }
|
||||||
std::vector<std::string> GetSuggestions(std::string const&) { return std::vector<std::string>(); }
|
std::vector<std::string> GetSuggestions(std::string const&) { return std::vector<std::string>(); }
|
||||||
std::vector<std::string> GetLanguageList() { return std::vector<std::string>(); }
|
std::vector<std::string> GetLanguageList() { return std::vector<std::string>(); }
|
||||||
bool CheckWord(std::string const& word) { return word != "incorrect"; }
|
bool CheckWord(std::string const& word) { return word != "incorrect"; }
|
||||||
|
|
Loading…
Reference in a new issue