Bill Filler wrote:
work in Deerpark Alpha 2 when building "browser". I've attemted to change the code to use nsProfileDirServiceProvider instead of nsIProfile as the gtk_embed browser does, however I'm having the same problem as the previous post because I'm using nsEmbedString throughtout my code and nsProfileDirServiceProvider pulls in nsAString.h . Do I need to change all of my code to use nsDependentString instead of nsEmbedString or another workaround? Or should I be using the stuff in the toolkit directory that was referenced in this thread instead of nsProfileDirServiceProvider?
The profiledirserviceprovider can use the frozen string API if you aren't defining MOZILLA_INTERNAL_API (which you shouldn't be)... see http://lxr.mozilla.org/mozilla/source/profile/dirserviceprovider/public/nsProfileDirServiceProvider.h#48
--BDS _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
