(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: mozilla ::

interface XProfileManager
Description
is the interface to bootup and switch Mozilla/Thunderbird profiles
See also
MozillaProductType, XProfileDiscover, MozillaBootstrap

Methods' Summary
bootupProfile attempts to init xpcom runtime using given profile.  
shutdownProfile attempts to shutdown the current profile.  
getCurrentProduct attempts to get the current product.  
getCurrentProfile attempts to get the current profile name.  
isCurrentProfileLocked attempts to check whether the current profile locked or not  
setCurrentProfile attempts to set the current used profile name for the given product.  
Methods' Details
bootupProfile
long
bootupProfile( [in] MozillaProductType  product,
[in] string  profileName );

Description
attempts to init xpcom runtime using given profile.
Parameter product
is the product to start up.
Parameter profileName
the profile name to be used.
Returns
the current refrence count for the given profile.
shutdownProfile
long
shutdownProfile();

Description
attempts to shutdown the current profile.
Returns
the current refrence count for the current profile.
getCurrentProduct
MozillaProductType
getCurrentProduct();

Description
attempts to get the current product.
Returns
the current used product.
getCurrentProfile
string
getCurrentProfile();

Description
attempts to get the current profile name.
Returns
the current used profile.
isCurrentProfileLocked
boolean
isCurrentProfileLocked();

Description
attempts to check whether the current profile locked or not
Returns
return sal_True is current profile is locked
setCurrentProfile
string
setCurrentProfile( [in] MozillaProductType  product,
[in] string  profileName );

Description
attempts to set the current used profile name for the given product.
Parameter product
is the product to be used.
Parameter profileName
the profile name to be used.
Returns
the current used profile name for the given product.
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.