There's an implementation of that interface here:
http://lxr.mozilla.org/mozilla/source/profile/dirserviceprovider/src/nsProfileDirServiceProvider.cpp

You might want to leverage that code for your purposes. Sadly, there is not good documentation on how this works.

-Darin


Stefan Klinger wrote:

Hello,

I have a question about NS_InitEmbedding.


As far as i have discovered the secont argument to

nsresult NS_InitEmbedding(nsILocalFile *aMozBinDirectory,
    nsIDirectoryServiceProvider *aAppFileLocProvider)

specifies where the profile and some other things is stored.


Is there any example code, documentation or something on how i can specify a custom directory and what files are needed at minimum in this directory?



Any help is greatly apprechiated.

Stefan

_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding


_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to