nsIProfileLock

An object returned by the nsIToolkitProfile.lock method; as long as you hold a reference to the object, the profile remains locked.
Inherits from: nsISupports Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)

Method overview

void unlock();

Attributes

Attribute Type Description
directory nsILocalFile The main profile directory. Read only.
localDirectory nsILocalFile

A directory corresponding to the main profile directory, which exists for the purpose of storing data on the local filesystem, including cache files or other data files that may not represent critical user data. (for example, this directory may not be included as part of a backup scheme.)

In some cases, this directory may just be the main profile directory. Read only.

Methods

unlock()

Unlocks the profile.

void unlock();
Parameters

None.

Exceptions thrown
NS_ERROR_UNEXPECTED
The profile isn't locked.

See also 

Document Tags and Contributors

 Contributors to this page: Sheppy, fscholz
 Last updated by: Sheppy,