Hello,
this is to let you know that the API of nsIMIMEService, nsIMIMEInfo and nsIHelperAppService has now changed.
This change does NOT affect the upcoming 1.7final release, but it will affect 1.8alpha and later.


This likely affects you, if you have some kind of download dialog or helper app launcher.

See the following urls for the new interfaces:
http://lxr.mozilla.org/seamonkey/source/netwerk/mime/public/nsIMIMEInfo.idl
http://lxr.mozilla.org/seamonkey/source/netwerk/mime/public/nsIMIMEService.idl
http://lxr.mozilla.org/seamonkey/source/uriloader/exthandler/nsIExternalHelperAppService.idl

The changes that were made was a change of |string| and |wstring| parameters to |ACString| and |AString|, respectively.

This means that code that previously looked like this:
char* type = NULL;
mimeInfo->GetMIMEType(&type);
...do something with type...
nsMemory::Free(type);

should now look like this:
nsEmbedCString type;
mimeInfo->GetMIMEType(type);
...do something with type...


Crossposting to .netlib and .embedding, setting followup-to npm.embedding.


-biesi
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to