Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "mozGenericWordUtils.h"
7 NS_IMPL_ISUPPORTS(mozGenericWordUtils, mozISpellI18NUtil)
9 // do something sensible but generic ... eventually. For now whine.
11 mozGenericWordUtils::mozGenericWordUtils()
12 {
13 /* member initializers and constructor code */
14 }
16 mozGenericWordUtils::~mozGenericWordUtils()
17 {
18 /* destructor code */
19 }
21 /* readonly attribute wstring language; */
22 NS_IMETHODIMP mozGenericWordUtils::GetLanguage(char16_t * *aLanguage)
23 {
24 return NS_ERROR_NOT_IMPLEMENTED;
25 }
27 /* void GetRootForm (in wstring word, in uint32_t type, [array, size_is (count)] out wstring words, out uint32_t count); */
28 NS_IMETHODIMP mozGenericWordUtils::GetRootForm(const char16_t *word, uint32_t type, char16_t ***words, uint32_t *count)
29 {
30 return NS_ERROR_NOT_IMPLEMENTED;
31 }
33 /* void FromRootForm (in wstring word, [array, size_is (icount)] in wstring iwords, in uint32_t icount, [array, size_is (ocount)] out wstring owords, out uint32_t ocount); */
34 NS_IMETHODIMP mozGenericWordUtils::FromRootForm(const char16_t *word, const char16_t **iwords, uint32_t icount, char16_t ***owords, uint32_t *ocount)
35 {
36 return NS_ERROR_NOT_IMPLEMENTED;
37 }
39 /* void FindNextWord (in wstring word, in uint32_t length, in uint32_t offset, out uint32_t begin, out uint32_t end); */
40 NS_IMETHODIMP mozGenericWordUtils::FindNextWord(const char16_t *word, uint32_t length, uint32_t offset, int32_t *begin, int32_t *end)
41 {
42 return NS_ERROR_NOT_IMPLEMENTED;
43 }