@mozilla.org/profile/manager;1

This component implements the following interfaces:

Constants

PRUint32 nsIProfile.SHUTDOWN_PERSIST = 1
PRUint32 nsIProfile.SHUTDOWN_CLEANSE = 2
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

PRUint32 nsIProfileInternal.LIST_ONLY_NEW = 1
PRUint32 nsIProfileInternal.LIST_ONLY_OLD = 2
PRUint32 nsIProfileInternal.LIST_ALL = 3
PRUint32 nsIProfileInternal.LIST_FOR_IMPORT = 4

Properties

PRBool nsIProfileInternal.automigrate

PRUnichar* nsIProfile.currentProfile

readonly nsIFile nsIProfileInternal.defaultProfileParentDir

readonly PRUnichar* nsIProfileInternal.firstProfile

[noscript] readonly PRBool nsIProfileInternal.isStartingUp

Returns TRUE if in the midst of startupWithArgs

readonly PRInt32 nsIProfile.profileCount

PRBool nsIProfileInternal.startWithLastUsedProfile

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.

Methods

InterfaceMethod
nsIProfileChangeStatus void changeFailed ( )
nsIProfile void cloneProfile ( PRUnichar* profileName )
nsIProfileInternal void createDefaultProfile ( )
nsIProfile void createNewProfile ( PRUnichar* profileName , PRUnichar* nativeProfileDir , PRUnichar* langcode , PRBool useExistingDir )
nsIProfileInternal void createNewProfileWithLocales ( PRUnichar* profileName , PRUnichar* nativeProfileDir , PRUnichar* UILocale , PRUnichar* contentLocale , PRBool useExistingDir )
nsIProfile void deleteProfile ( PRUnichar* name , PRBool canDeleteFiles )
nsIProfileInternal void forgetCurrentProfile ( )
nsIProfileInternal PRInt32 get4xProfileCount ( )
nsIProfileInternal [noscript] void getCurrentProfileDir ( out nsIFile profileDir )
nsIProfileInternal nsILocalFile getOriginalProfileDir ( PRUnichar* profileName )
nsIProfileInternal nsIFile getProfileDir ( PRUnichar* profileName )
nsIProfileInternal PRInt64 getProfileLastModTime ( PRUnichar* profileName )
nsIProfile void getProfileList ( out PRUint32 length , retval arrayof PRUnichar* profileNames )
nsIProfileInternal void getProfileListX ( PRUint32 which , out PRUint32 length , retval arrayof PRUnichar* profileNames )
nsIProfileInternal PRUnichar* getProfilePath ( PRUnichar* profileName )
nsIProfileInternal [noscript] void getRegStrings ( PRUnichar* profileName , out PRUnichar* regString , out PRUnichar* regName , out PRUnichar* regEmail , out PRUnichar* regOption )
nsIProfileInternal PRBool isCurrentProfileAvailable ( )
nsIProfileInternal [noscript] char* isRegStringSet ( PRUnichar* profileName )
nsIProfileInternal void migrateAllProfiles ( )
nsIProfileInternal void migrateProfile ( PRUnichar* profileName )
nsIProfileInternal void migrateProfileInfo ( )
nsIProfile PRBool profileExists ( PRUnichar* profileName )
nsIProfileInternal void remigrateProfile ( PRUnichar* profileName )
nsIProfile void renameProfile ( PRUnichar* oldName , PRUnichar* newName )
nsIProfileInternal [noscript] void setRegStrings ( PRUnichar* profileName , PRUnichar* regString , PRUnichar* regName , PRUnichar* regEmail , PRUnichar* regOption )
nsIProfile void shutDownCurrentProfile ( PRUint32 shutDownType )
nsIProfileInternal [noscript] void startupWithArgs ( nsICmdLineService cmdLine , PRBool canInteract )
nsIProfileInternal [noscript] void updateRegistry ( nsIFile regName )
nsIProfileChangeStatus void vetoChange ( )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com