add nsTimingService to the factory for bug 72002 sr=ben

This commit is contained in:
alecf%netscape.com 2001-04-18 03:16:30 +00:00
parent 1046c84695
commit 6d96879bfb

View File

@ -38,6 +38,7 @@
#include "nsXPConnectFactory.h"
#include "nsWindowMediator.h"
#include "nsFileLocations.h"
#include "nsTimingService.h"
#ifdef XP_MAC
#include "nsMacMIMEDataSource.h"
@ -58,6 +59,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(XPConnectFactoryImpl);
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindowMediator);
NS_GENERIC_FACTORY_CONSTRUCTOR(nsFileLocator);
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUserInfo);
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimingService);
static nsModuleComponentInfo gAppShellModuleInfo[] =
{
@ -96,7 +98,12 @@ static nsModuleComponentInfo gAppShellModuleInfo[] =
NS_USERINFO_CONTRACTID,
nsUserInfoConstructor,
},
#if XP_MAC
{ "Timing Service",
NS_TIMINGSERVICE_CID,
NS_TIMINGSERVICE_CONTRACTID,
nsTimingServiceConstructor,
},
#if XP_MAC
{ "MacMIME data source",
NS_NATIVEMIMEDATASOURCE_CID,
NS_NATIVEMIMEDATASOURCE_CONTRACTID,
@ -107,7 +114,7 @@ static nsModuleComponentInfo gAppShellModuleInfo[] =
NS_INTERNETCONFIGSERVICE_CONTRACTID,
nsInternetConfigServiceConstructor,
},
#endif
#endif
};
NS_IMPL_NSGETMODULE("appshell", gAppShellModuleInfo)