Adding support for .mailcap and .mime.types files. Bug 52441, r=jag,

sr=scc
This commit is contained in:
bzbarsky%mit.edu 2001-08-15 22:17:32 +00:00
parent 06b7f5c656
commit 631f1e2203
2 changed files with 1212 additions and 11 deletions

File diff suppressed because it is too large Load Diff

View File

@ -40,6 +40,10 @@ public:
// override nsIExternalHelperAppService methods....
NS_IMETHOD LaunchAppWithTempFile(nsIMIMEInfo *aMIMEInfo, nsIFile * aTempFile);
// override nsIMIMEService methods to contain mime.types and mime.info look up steps
NS_IMETHODIMP GetFromExtension(const char *aFileExt, nsIMIMEInfo **_retval);
NS_IMETHODIMP GetFromMIMEType(const char *aMIMEType, nsIMIMEInfo **_retval);
// override nsIExternalProtocolService methods
NS_IMETHOD ExternalProtocolHandlerExists(const char * aProtocolScheme, PRBool * aHandlerExists);
NS_IMETHOD LoadUrl(nsIURI * aURL);