WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIProfile

IID:02b0625a-e7f3-11d2-9f5a-006008a6efe9
Inherits From:nsISupports
Status:FROZEN

This interface is implemented by the following components:


Constants

PRUint32 SHUTDOWN_PERSIST = 1
PRUint32 SHUTDOWN_CLEANSE = 2

Properties

PRUnichar* currentProfile

readonly PRInt32 profileCount


Methods

void cloneProfile ( PRUnichar* profileName ) void createNewProfile ( PRUnichar* profileName , PRUnichar* nativeProfileDir , PRUnichar* langcode , PRBool useExistingDir ) void deleteProfile ( PRUnichar* name , PRBool canDeleteFiles ) void getProfileList ( out PRUint32 length , out arrayof PRUnichar* profileNames ) PRBool profileExists ( PRUnichar* profileName ) void renameProfile ( PRUnichar* oldName , PRUnichar* newName ) void shutDownCurrentProfile ( PRUint32 shutDownType )

void cloneProfile ( PRUnichar* profileName )

Arguments:
profileName

void createNewProfile ( PRUnichar* profileName , PRUnichar* nativeProfileDir , PRUnichar* langcode , PRBool useExistingDir )

Arguments:
profileName
nativeProfileDir
langcode
useExistingDir

void deleteProfile ( PRUnichar* name , PRBool canDeleteFiles )

Arguments:
name
canDeleteFiles

void getProfileList ( out PRUint32 length , out arrayof PRUnichar* profileNames )

Arguments:
length
profileNames

PRBool profileExists ( PRUnichar* profileName )

Arguments:
profileName

void renameProfile ( PRUnichar* oldName , PRUnichar* newName )

Arguments:
oldName
newName

void shutDownCurrentProfile ( PRUint32 shutDownType )

Arguments:
shutDownType

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com