chat/modules/imServices.jsm
author Frank-Rainer Grahl <frgrahl@gmx.net>
Fri, 08 Apr 2016 23:59:47 +0800
changeset 24782 abc74bba07dcb63b5b051724b07712cad2556b15
parent 23489 7a2c243821cc79b3a11bc8fae12bc0c6135f35d5
child 30204 1ac48db6177e9ea975af601c25770fc50db1b6dc
permissions -rw-r--r--
Bug 1263186 - Remove Devtools Error Console References from Seamonkey. r=Ratty a=Ratty bustage fix

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

this.EXPORTED_SYMBOLS = ["Services"];

Components.utils.import("resource://gre/modules/Services.jsm");
Components.utils.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");