Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIToolkitProfileService Interface Reference

import "nsIToolkitProfileService.idl";

Inheritance diagram for nsIToolkitProfileService:
Inheritance graph
[legend]
Collaboration diagram for nsIToolkitProfileService:
Collaboration graph
[legend]

List of all members.

Public Member Functions

nsIToolkitProfile getProfileByName (in AUTF8String aName)
 Get a profile by name.
nsIProfileLock lockProfilePath (in nsILocalFile aDirectory, in nsILocalFile aTempDirectory)
 Lock an arbitrary path as a profile.
nsIToolkitProfile createProfile (in nsILocalFile aRootDir, in nsILocalFile aTempDir, in AUTF8String aName)
 Create a new profile.
void flush ()
 Flush the profiles list file.

Public Attributes

attribute boolean startWithLastProfile
attribute boolean startOffline
readonly attribute
nsISimpleEnumerator 
profiles
attribute nsIToolkitProfile selectedProfile
readonly attribute unsigned long profileCount
 Returns the number of profiles.

Detailed Description

Definition at line 46 of file nsIToolkitProfileService.idl.


Member Function Documentation

nsIToolkitProfile nsIToolkitProfileService::createProfile ( in nsILocalFile  aRootDir,
in nsILocalFile  aTempDir,
in AUTF8String  aName 
)

Create a new profile.

Parameters:
aRootDirThe profile directory. May be null, in which case a suitable default will be chosen based on the profile name.
aTempDirThe profile temporary directory. May be null, in which case a suitable default will be chosen based either on the profile name if aRootDir is null or aRootDir itself.
aNameThe profile name.

Flush the profiles list file.

Get a profile by name.

This is mainly for use by the -P commandline flag.

Parameters:
aNameThe profile name to find.

Lock an arbitrary path as a profile.

If the path does not exist, it will be created and the defaults copied from the application directory.


Member Data Documentation

Returns the number of profiles.

Returns:
0, 1, or 2. More than 2 profiles will always return 2.

Definition at line 91 of file nsIToolkitProfileService.idl.

Definition at line 51 of file nsIToolkitProfileService.idl.

Definition at line 53 of file nsIToolkitProfileService.idl.

Definition at line 49 of file nsIToolkitProfileService.idl.

Definition at line 48 of file nsIToolkitProfileService.idl.


The documentation for this interface was generated from the following file: