On Jun 6, 5:53 pm, Benjamin Smedberg <[EMAIL PROTECTED]> wrote: > Alexey 'Spry' Pelykh wrote: > I'm not sure I understand the question, but I'll take a guess: > > The normal way to do keep users preferences is 1) select a profile directory > 2) use nsIPrefService/nsIPrefBranch to save named preferences > > --BDS
Ok :) So the sequence of managing preferences: 1) Set the profile directory 2a) savePrefFile(nsIFile aFile); to save, needs to be called manually? 2b) readUserPrefs(nsIFile aFile); to load, also needs to be called manually? Or 2a and 2b is somehow automated and I just don't see that? So, as far as I understand, only a single call to nsProfileDirProvider- >SetProfileDir(nsLocalAppDataDir); is valid? Second will be ignored? Or I can set new profile directory and then work with it? Cookies are also stored in my profile directory? Cache also? _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
