chat/modules/imServices.jsm
author Mozilla Releng Treescript <release+treescript@mozilla.org>
Wed, 28 Jul 2021 08:39:02 +0000
changeset 43219 2d3d9cc85186e7af897e828286c96e955c80e562
parent 38076 7853102282e6bc50b8a2317e86b5185b0c5c250d
permissions -rw-r--r--
no bug - Bumping Thunderbird l10n changesets r=release a=l10n-bump DONTBUILD gl -> 65ed04f91b9e14c0e18380082d5d20a71cb9ce99 hr -> 0e7696f40039e67e56223dff4d02ccdc0c75ef3c ko -> ecb1b8148e847ad333e6182c8aff8ee83f46b938 nb-NO -> 1222a661248180145d01972c6559a3712c9f0ecd pt-BR -> 7ecd64254b19975a30b9086530aa2fe83de08246 sl -> 2cde4577a3f6cb5821bd7a6dd6e269da6b74a562 uk -> ed3f5a8a962a531a6bb47c51e50ede27502d3a74

/* 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/. */

const EXPORTED_SYMBOLS = ["Services"];

const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
const { XPCOMUtils } = ChromeUtils.import(
  "resource://gre/modules/XPCOMUtils.jsm"
);

XPCOMUtils.defineLazyServiceGetter(
  Services,
  "accounts",
  "@mozilla.org/chat/accounts-service;1",
  "imIAccountsService"
);
XPCOMUtils.defineLazyServiceGetter(
  Services,
  "core",
  "@mozilla.org/chat/core-service;1",
  "imICoreService"
);
XPCOMUtils.defineLazyServiceGetter(
  Services,
  "cmd",
  "@mozilla.org/chat/commands-service;1",
  "imICommandsService"
);
XPCOMUtils.defineLazyServiceGetter(
  Services,
  "contacts",
  "@mozilla.org/chat/contacts-service;1",
  "imIContactsService"
);
XPCOMUtils.defineLazyServiceGetter(
  Services,
  "conversations",
  "@mozilla.org/chat/conversations-service;1",
  "imIConversationsService"
);
XPCOMUtils.defineLazyServiceGetter(
  Services,
  "tags",
  "@mozilla.org/chat/tags-service;1",
  "imITagsService"
);
XPCOMUtils.defineLazyServiceGetter(
  Services,
  "logs",
  "@mozilla.org/chat/logger;1",
  "imILogger"
);