nsIToolkitProfile

IID:7422b090-4a86-4407-972e-75468a625388
Inherits From:nsISupports

Properties

readonly nsILocalFile localDir

The location of the profile local directory, which may be the same as the root directory. See nsIProfileLock::localDirectory.

AUTF8String name

The name of the profile.

readonly nsILocalFile rootDir

The location of the profile directory.


Methods

nsIProfileLock lock ( out nsIProfileUnlocker unlocker ) void remove ( PRBool removeFiles )

nsIProfileLock lock ( out nsIProfileUnlocker unlocker )

Lock this profile using platform-specific locking methods.

Arguments:
unlocker
Returns:
An interface which holds a profile lock as long as you reference it.

void remove ( PRBool removeFiles )

Removes the profile from the registry of profiles.

Arguments:
removeFiles: Indicates whether or not the profile directory should be removed in addition.

References

This interface is the type of the following properties:

nsIToolkitProfileService.selectedProfile

This interface is returned from the following methods:

nsIToolkitProfileService.createProfile, nsIToolkitProfileService.getProfileByName

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com