extensions/spellcheck/idl/mozISpellI18NManager.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/extensions/spellcheck/idl/mozISpellI18NManager.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +#include "nsISupports.idl"
    1.10 +#include "mozISpellI18NUtil.idl"
    1.11 +
    1.12 +[scriptable, uuid(AEB8936F-219C-4D3C-8385-D9382DAA551A)]
    1.13 +
    1.14 +/**
    1.15 + * This interface contains various I18N related code used in various places
    1.16 + * by the spell checker.
    1.17 + */
    1.18 +
    1.19 +interface mozISpellI18NManager : nsISupports {
    1.20 +  /**
    1.21 +   * Get a mozISpellI18NUtil interface that best matches the given language.
    1.22 +   */
    1.23 +  mozISpellI18NUtil getUtil(in wstring language);
    1.24 +};

mercurial