Kyle Yuan wrote:

Hi,

I'm writing an application based on TestGtkEmbed. I found there is
only one line in TestGtkEmbed.cpp to specify where its profile should
be stored in:

gtk_moz_embed_set_profile_path(full_path, "TestGtkEmbed");

Is it possible to use Mozilla's nsIProfile interface, such as
nsIProfile::SetCurrentProfile, to let my app use the present profiles.

Thanks
Kyle


I'm not sure, I've never tried. But I imagine it will work as well as it does in the browser. If you look at the source code that the profile_path() call actually executes, it's not that complicated.

--Chris

--
------------
Christopher Blizzard
http://www.mozilla.org
------------




Reply via email to