gecko/toolkit/components/alerts/mac/nsAlertsServiceModule.cpp
Josh Aas fed62f1610 Bug 728106: Add Notification Center support for OS X 10.8. r=smichaud,dougt
--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
2012-08-22 15:30:13 -04:00

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;