Back to index

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

import "nsIProfileInternal.idl";

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

List of all members.

Public Member Functions

void startupWithArgs (in nsICmdLineService cmdLine, in boolean canInteract)
 Starts up the profile manager.
long get4xProfileCount ()
void getProfileListX (in unsigned long which, out unsigned long length,[retval, array, size_is(length)] out wstring profileNames)
void migrateProfileInfo ()
void migrateAllProfiles ()
void migrateProfile (in wstring profileName)
void remigrateProfile (in wstring profileName)
void forgetCurrentProfile ()
void createDefaultProfile ()
nsIFile getProfileDir (in wstring profileName)
 Returns the actual profile directory.
wstring getProfilePath (in wstring profileName)
 Returns the path to a profile which can be shown to the user.
nsILocalFile getOriginalProfileDir (in wstring profileName)
 Returns a profile directory of the importType.
PRInt64 getProfileLastModTime (in wstring profileName)
 Returns the date on which a profile was last used.
void updateRegistry (in nsIFile regName)
void getRegStrings (in wstring profileName, out wstring regString, out wstring regName, out wstring regEmail, out wstring regOption)
void setRegStrings (in wstring profileName, in wstring regString, in wstring regName, in wstring regEmail, in wstring regOption)
string isRegStringSet (in wstring profileName)
void createNewProfileWithLocales (in wstring profileName, in wstring nativeProfileDir, in wstring UILocale, in wstring contentLocale, in boolean useExistingDir)
boolean isCurrentProfileAvailable ()
 The remaining methods are deprecated.
void getCurrentProfileDir (out nsIFile profileDir)
void getProfileList (out unsigned long length,[retval, array, size_is(length)] out wstring profileNames)
boolean profileExists (in wstring profileName)
void shutDownCurrentProfile (in unsigned long shutDownType)
void createNewProfile (in wstring profileName, in wstring nativeProfileDir, in wstring langcode, in boolean useExistingDir)
void renameProfile (in wstring oldName, in wstring newName)
void deleteProfile (in wstring name, in boolean canDeleteFiles)
void cloneProfile (in wstring profileName)

Public Attributes

readonly attribute boolean isStartingUp
 Returns TRUE if in the midst of startupWithArgs.
const unsigned long LIST_ONLY_NEW = 1
 The following values are used with getProfileListX.
const unsigned long LIST_ONLY_OLD = 2
const unsigned long LIST_ALL = 3
const unsigned long LIST_FOR_IMPORT = 4
attribute boolean automigrate
readonly attribute nsIFile defaultProfileParentDir
readonly attribute wstring firstProfile
attribute boolean startWithLastUsedProfile
 Affects startup behavior when there are multiple profiles.
readonly attribute long profileCount
attribute wstring currentProfile
const unsigned long SHUTDOWN_PERSIST = 0x00000001
const unsigned long SHUTDOWN_CLEANSE = 0x00000002

Detailed Description

Definition at line 50 of file nsIProfileInternal.idl.


Member Function Documentation

void nsIProfile::cloneProfile ( in wstring  profileName) [inherited]
void nsIProfile::createNewProfile ( in wstring  profileName,
in wstring  nativeProfileDir,
in wstring  langcode,
in boolean  useExistingDir 
) [inherited]
void nsIProfileInternal::createNewProfileWithLocales ( in wstring  profileName,
in wstring  nativeProfileDir,
in wstring  UILocale,
in wstring  contentLocale,
in boolean  useExistingDir 
)
void nsIProfile::deleteProfile ( in wstring  name,
in boolean  canDeleteFiles 
) [inherited]

Returns a profile directory of the importType.

The path will point to the 4.x profile directory. Should be used only from the import module.

nsIFile nsIProfileInternal::getProfileDir ( in wstring  profileName)

Returns the actual profile directory.

Returns the date on which a profile was last used.

value is in milliseconds since midnight Jan 1, 1970 GMT (same as nsIFile)

void nsIProfile::getProfileList ( out unsigned long  length,
[retval, array, size_is(length)] out wstring  profileNames 
) [inherited]
void nsIProfileInternal::getProfileListX ( in unsigned long  which,
out unsigned long  length,
[retval, array, size_is(length)] out wstring  profileNames 
)
wstring nsIProfileInternal::getProfilePath ( in wstring  profileName)

Returns the path to a profile which can be shown to the user.

If the actual profile directory is salted, returns the unsalted parent. This is the directory which will be deleted by deleteProfile(name, true).

void nsIProfileInternal::getRegStrings ( in wstring  profileName,
out wstring  regString,
out wstring  regName,
out wstring  regEmail,
out wstring  regOption 
)

The remaining methods are deprecated.

DO NOT USE THEM.

string nsIProfileInternal::isRegStringSet ( in wstring  profileName)
void nsIProfileInternal::migrateProfile ( in wstring  profileName)
boolean nsIProfile::profileExists ( in wstring  profileName) [inherited]
void nsIProfileInternal::remigrateProfile ( in wstring  profileName)
void nsIProfile::renameProfile ( in wstring  oldName,
in wstring  newName 
) [inherited]
void nsIProfileInternal::setRegStrings ( in wstring  profileName,
in wstring  regString,
in wstring  regName,
in wstring  regEmail,
in wstring  regOption 
)
void nsIProfile::shutDownCurrentProfile ( in unsigned long  shutDownType) [inherited]

Starts up the profile manager.

Parameters:
cmdLineArguments passed from command line - can be null
canInteractWhether dialogs can be shown during startup If false and dialogs would need to be shown, returns NS_ERROR_PROFILE_REQUIRES_INTERRACTION

Here is the caller graph for this function:


Member Data Documentation

Definition at line 118 of file nsIProfileInternal.idl.

Definition at line 72 of file nsIProfile.idl.

Definition at line 119 of file nsIProfileInternal.idl.

Definition at line 120 of file nsIProfileInternal.idl.

Returns TRUE if in the midst of startupWithArgs.

Definition at line 64 of file nsIProfileInternal.idl.

Definition at line 82 of file nsIProfileInternal.idl.

Definition at line 83 of file nsIProfileInternal.idl.

The following values are used with getProfileListX.

LIST_ONLY_NEW - the list will contain only migrated profiles LIST_ONLY_OLD - the list will contain only un-migrated profiles LIST_ALL - the list will contain all profiles LIST_FOR_IMPORT - the list is generated from 4.x registry and contains all the 4.x profiles do not use this except from the import module

Definition at line 80 of file nsIProfileInternal.idl.

Definition at line 81 of file nsIProfileInternal.idl.

readonly attribute long nsIProfile::profileCount [inherited]

Definition at line 68 of file nsIProfile.idl.

const unsigned long nsIProfile::SHUTDOWN_CLEANSE = 0x00000002 [inherited]

Definition at line 75 of file nsIProfile.idl.

const unsigned long nsIProfile::SHUTDOWN_PERSIST = 0x00000001 [inherited]

Definition at line 74 of file nsIProfile.idl.

Affects startup behavior when there are multiple profiles.

If FALSE, the profile selection dialog will be shown. If TRUE, the last used profile will be chosen automatically.

Definition at line 127 of file nsIProfileInternal.idl.


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