| 210 | } |
| 211 | |
| 212 | AspellStatus AspellInterface::get_status() const { |
| 213 | if (is_working()) { |
| 214 | if (get_language_list().empty()) |
| 215 | return AspellStatus::no_dictionaries; |
| 216 | |
| 217 | return AspellStatus::working; |
| 218 | } |
| 219 | |
| 220 | if (!m_correct_bitness) |
| 221 | return AspellStatus::incorrect_bitness; |
| 222 | return AspellStatus::not_working; |
| 223 | } |
| 224 | |
| 225 | std::wstring AspellInterface::get_default_personal_dictionary_path() const { |
| 226 | if (!m_aspell_loaded) |
no test coverage detected