13182 [PI] Internet Config support for MIME type mapping.
git-svn-id: svn://10.0.0.236/trunk@68021 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -46,11 +46,12 @@
|
||||
#include "nsFileLocations.h"
|
||||
|
||||
#ifdef XP_MAC
|
||||
#include "nsUserInfoMac.h"
|
||||
#else
|
||||
#include "nsUserInfo.h"
|
||||
#include "nsMacMIMEDataSource.h"
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMacMIMEDataSource);
|
||||
#endif
|
||||
|
||||
#include "nsUserInfo.h"
|
||||
|
||||
/* extern the factory entry points for each component... */
|
||||
nsresult NS_NewAppShellServiceFactory(nsIFactory** aFactory);
|
||||
nsresult NS_NewXPConnectFactoryFactory(nsIFactory** aResult);
|
||||
@@ -117,6 +118,13 @@ static nsModuleComponentInfo gAppShellModuleInfo[] =
|
||||
NS_USERINFO_PROGID,
|
||||
nsUserInfoConstructor,
|
||||
},
|
||||
#if XP_MAC
|
||||
{ "MacMIME data source",
|
||||
NS_NATIVEMIMEDATASOURCE_CID,
|
||||
NS_NATIVEMIMEDATASOURCE_PROGID,
|
||||
nsMacMIMEDataSourceConstructor,
|
||||
},
|
||||
#endif
|
||||
};
|
||||
|
||||
NS_IMPL_NSGETMODULE("appshell", gAppShellModuleInfo)
|
||||
|
||||
Reference in New Issue
Block a user