nsIComm4xProfile

IID:c66c1060-2bdc-11d6-92a0-0010a4b26cda
Inherits From:nsISupports

This interface provides support for getting 4.x profile information This interface can be used to get the existing 4.x profiles and for getting the mail directory for the profile.

This interface is implemented by the following components:


Methods

PRUnichar* getMailDir ( PRUnichar* profileName ) void getProfileList ( out PRUint32 length , out arrayof PRUnichar* selectList )

PRUnichar* getMailDir ( PRUnichar* profileName )

Searches the preferences file of the given profile for the pref mail.directory If the pref does not exist it, returns the default value.

Arguments:
profileName: name of the profile in the profiles array
Returns:
The path to the mail directory for the profile with the name profileName

void getProfileList ( out PRUint32 length , out arrayof PRUnichar* selectList )

Parses the 4.x registry file and returns a list of profiles.

Arguments:
length
selectList

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com