mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fed62f1610
--HG-- rename : toolkit/components/alerts/mac/nsGrowlAlertsService.h => toolkit/components/alerts/mac/nsMacAlertsService.h rename : toolkit/components/alerts/mac/nsGrowlAlertsService.mm => toolkit/components/alerts/mac/nsMacAlertsService.mm
34 lines
1.0 KiB
C++
34 lines
1.0 KiB
C++
/* 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 "nsMacAlertsService.h"
|
|
#include "nsToolkitCompsCID.h"
|
|
#include "mozilla/ModuleUtils.h"
|
|
#include "nsCOMPtr.h"
|
|
#include "nsIServiceManager.h"
|
|
#include "nsServiceManagerUtils.h"
|
|
#include "nsICategoryManager.h"
|
|
#include "nsMemory.h"
|
|
|
|
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsMacAlertsService, Init)
|
|
NS_DEFINE_NAMED_CID(NS_SYSTEMALERTSSERVICE_CID);
|
|
|
|
static const mozilla::Module::CIDEntry kAlertsCIDs[] = {
|
|
{ &kNS_SYSTEMALERTSSERVICE_CID, false, NULL, nsMacAlertsServiceConstructor },
|
|
{ NULL }
|
|
};
|
|
|
|
static const mozilla::Module::ContractIDEntry kAlertsContracts[] = {
|
|
{ NS_SYSTEMALERTSERVICE_CONTRACTID, &kNS_SYSTEMALERTSSERVICE_CID },
|
|
{ NULL }
|
|
};
|
|
|
|
static const mozilla::Module kAlertsModule = {
|
|
mozilla::Module::kVersion,
|
|
kAlertsCIDs,
|
|
kAlertsContracts
|
|
};
|
|
|
|
NSMODULE_DEFN(nsAlertsServiceModule) = &kAlertsModule;
|