mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
6d4115599f
MozReview-Commit-ID: 3fTtad7tAg6 --HG-- extra : rebase_source : ae108187419d7b5698899cebe1ddb7aae46ae156
22 lines
742 B
Plaintext
22 lines
742 B
Plaintext
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* 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 "nsISupports.idl"
|
|
|
|
%{C++
|
|
// Define Contractid and CID
|
|
#define MOZ_LOCALESERVICE_CID \
|
|
{ 0x92735ff4, 0x6384, 0x4ad6, { 0x85, 0x08, 0x75, 0x70, 0x10, 0xe1, 0x49, 0xee } }
|
|
|
|
#define MOZ_LOCALESERVICE_CONTRACTID "@mozilla.org/intl/localeservice;1"
|
|
%}
|
|
|
|
[scriptable, uuid(C27F8983-B48B-4D1A-92D7-FEB8106F212D)]
|
|
interface mozILocaleService : nsISupports
|
|
{
|
|
[implicit_jscontext] jsval getAppLocales();
|
|
[implicit_jscontext] ACString getAppLocale();
|
|
};
|