2014-07-02 02:24:27 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
include protocol PContent;
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
|
2014-10-03 18:52:37 +04:00
|
|
|
sync protocol PRemoteSpellcheckEngine {
|
2014-07-02 02:24:27 +04:00
|
|
|
manager PContent;
|
|
|
|
|
|
|
|
parent:
|
2016-01-27 00:51:53 +03:00
|
|
|
async __delete__();
|
2014-07-02 02:24:27 +04:00
|
|
|
|
2014-10-03 18:52:37 +04:00
|
|
|
sync Check(nsString aWord) returns (bool aIsMisspelled);
|
2014-07-02 02:24:27 +04:00
|
|
|
|
2014-10-03 18:52:37 +04:00
|
|
|
sync CheckAndSuggest(nsString aWord) returns (bool aIsMisspelled, nsString[] aSuggestions);
|
2014-08-12 00:07:54 +04:00
|
|
|
|
2014-10-03 18:52:37 +04:00
|
|
|
sync SetDictionary(nsString aDictionary) returns (bool success);
|
2014-07-02 02:24:27 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace mozilla
|