nsIProfileLock

IID:50e07b0a-f338-4da3-bcdb-f4bb0db94dbe
Inherits From:nsISupports

Hold on to a profile lock. Once you release the last reference to this interface, the profile lock is released.


Properties

readonly nsILocalFile directory

The main profile directory.

readonly nsILocalFile localDirectory

A directory corresponding to the main profile directory that 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. (e.g., this directory may not be included as part of a backup scheme.)

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


Methods

void unlock ( )

void unlock ( )

Unlock the profile.


References

This interface is returned from the following methods:

nsIToolkitProfile.lock, nsIToolkitProfileService.lockProfilePath

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com