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.
michael@0 | 1 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | #include "mozGenericWordUtils.h" |
michael@0 | 6 | |
michael@0 | 7 | NS_IMPL_ISUPPORTS(mozGenericWordUtils, mozISpellI18NUtil) |
michael@0 | 8 | |
michael@0 | 9 | // do something sensible but generic ... eventually. For now whine. |
michael@0 | 10 | |
michael@0 | 11 | mozGenericWordUtils::mozGenericWordUtils() |
michael@0 | 12 | { |
michael@0 | 13 | /* member initializers and constructor code */ |
michael@0 | 14 | } |
michael@0 | 15 | |
michael@0 | 16 | mozGenericWordUtils::~mozGenericWordUtils() |
michael@0 | 17 | { |
michael@0 | 18 | /* destructor code */ |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | /* readonly attribute wstring language; */ |
michael@0 | 22 | NS_IMETHODIMP mozGenericWordUtils::GetLanguage(char16_t * *aLanguage) |
michael@0 | 23 | { |
michael@0 | 24 | return NS_ERROR_NOT_IMPLEMENTED; |
michael@0 | 25 | } |
michael@0 | 26 | |
michael@0 | 27 | /* void GetRootForm (in wstring word, in uint32_t type, [array, size_is (count)] out wstring words, out uint32_t count); */ |
michael@0 | 28 | NS_IMETHODIMP mozGenericWordUtils::GetRootForm(const char16_t *word, uint32_t type, char16_t ***words, uint32_t *count) |
michael@0 | 29 | { |
michael@0 | 30 | return NS_ERROR_NOT_IMPLEMENTED; |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 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); */ |
michael@0 | 34 | NS_IMETHODIMP mozGenericWordUtils::FromRootForm(const char16_t *word, const char16_t **iwords, uint32_t icount, char16_t ***owords, uint32_t *ocount) |
michael@0 | 35 | { |
michael@0 | 36 | return NS_ERROR_NOT_IMPLEMENTED; |
michael@0 | 37 | } |
michael@0 | 38 | |
michael@0 | 39 | /* void FindNextWord (in wstring word, in uint32_t length, in uint32_t offset, out uint32_t begin, out uint32_t end); */ |
michael@0 | 40 | NS_IMETHODIMP mozGenericWordUtils::FindNextWord(const char16_t *word, uint32_t length, uint32_t offset, int32_t *begin, int32_t *end) |
michael@0 | 41 | { |
michael@0 | 42 | return NS_ERROR_NOT_IMPLEMENTED; |
michael@0 | 43 | } |
michael@0 | 44 |