On Jun 6, 3:54 pm, Benjamin Smedberg <[EMAIL PROTECTED]> wrote:
> Alexey 'Spry' Pelykh wrote:
> > The subject is that I want to use some kind of dynamic profile
> > switching, and as far as I understand nsIProfile was used to do that.
> > But the posts I've read are dated back to 2006, and now it seems to be
> > or deprecated or completely out of date. 'Creation' of nsIProfile
> > always return that there is no factory. And in those posts there was a
> > compiler define MOZ_SINGLE_PROFILE, and when it was not defined,
> > Mozilla sources supported multi-profiles. But now there is no usage of
> > such flag. Can someone please explain what am I missing or just
> > explain how it is done in Mozilla 1.9
>
> Firefox has never supported nsIProfile or dynamic profile switching, and
> that code has been removed from the codebase altogether in the 1.9 cycle.
>
> --BDS

Thanks a lot! Now I do understand. I have some more questions
regarding profiles:
1) So, now the load of my cookies cache, preferences etc. is made
somewhere inside
nsr = nsProfileDirProvider->SetProfileDir(nsLocalAppDataDir);
?
2) So, if the above statement is somehow correct, it means, that a
single instance of Mozilla environment(embedding env.) is bindned to
some profile directory, where it stores some settings, etc.?
3) If two of above statements are incorrect, that what nsr =
nsProfileDirProvider->SetProfileDir(nsLocalAppDataDir); is intented
for?
4) If #3 statement is correct, then I have to manually load/store my
preferences via nsIPref?

P.S. The post thread was
http://groups.google.com.ua/group/mozilla.dev.embedding/browse_thread/thread/3a8c3c80987a8d6a/477a52cce478e1db?hl=uk&lnk=st&q=Embedded+Gecko+and+Advanced+Profiles+Usage+Question#477a52cce478e1db
Is
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to