nsISupports
Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)You should not create these objects yourself; to obtain them, use the nsIToolkitProfileService
interface to create and obtain them.
nsIProfileLock lock(out nsIProfileUnlocker aUnlocker); |
void remove(in boolean removeFiles); |
Attribute | Type | Description |
localDir |
|
The location of the profile local directory, which may be the same as the root directory. See nsIProfileLock.localDirectory() . Read only. |
name |
AUTF8String |
The profile's name. |
rootDir |
|
The location of the profile directory. Read only. |
Locks the profile using platform-specific locking methods.
nsIProfileLock lock( out nsIProfileUnlocker aUnlocker );
aUnlocker
nsIProfileUnlocker
object you can use to unlock the profile.
An nsIProfileLock
object which holds a profile lock as long as you hold a reference to it.
Example:
var profile = profileList.getNext().QueryInterface(Ci.nsIToolkitProfile); var locker = profile.lock({});
Removes the profile from the registry of profiles.
void remove( in boolean removeFiles );
removeFiles