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.
@mozilla.org/system-preference-service;1
This component implements the following interfaces:
Constants
| Values describing the basic preference types. | ||
| PRInt32 | nsIPrefBranch.PREF_INVALID | = 0 |
| PRInt32 | nsIPrefBranch.PREF_STRING | = 32 |
| PRInt32 | nsIPrefBranch.PREF_INT | = 64 |
| PRInt32 | nsIPrefBranch.PREF_BOOL | = 128 |
Properties
readonly char* nsIPrefBranch.root
Called to get the root on which this branch is based, such as "browser.startup."
Methods
| Interface | Method |
|---|---|
| nsIPrefBranch2 |
void addObserver ( char* domain , nsIObserver observer , PRBool holdWeak )
|
| nsIPrefBranch |
void clearUserPref ( char* prefName )
|
| nsIPrefBranch |
void deleteBranch ( char* startingAt )
|
| nsIPrefBranch |
PRBool getBoolPref ( char* prefName )
|
| nsIPrefBranch |
char* getCharPref ( char* prefName )
|
| nsIPrefBranch |
void getChildList ( char* startingAt , out PRUint32 count , out arrayof char* childArray )
|
| nsIPrefBranch |
void getComplexValue ( char* prefName , nsIIDRef type , out nsQIResult* value )
|
| nsIPrefBranch |
PRInt32 getIntPref ( char* prefName )
|
| nsIPrefBranch |
PRInt32 getPrefType ( char* prefName )
|
| nsIPrefBranch |
void lockPref ( char* prefName )
|
| nsIPrefBranch |
PRBool prefHasUserValue ( char* prefName )
|
| nsIPrefBranch |
PRBool prefIsLocked ( char* prefName )
|
| nsIPrefBranch2 |
void removeObserver ( char* domain , nsIObserver observer )
|
| nsIPrefBranch |
void resetBranch ( char* startingAt )
|
| nsIPrefBranch |
void setBoolPref ( char* prefName , PRInt32 value )
|
| nsIPrefBranch |
void setCharPref ( char* prefName , char* value )
|
| nsIPrefBranch |
void setComplexValue ( char* prefName , nsIIDRef type , nsISupports value )
|
| nsIPrefBranch |
void setIntPref ( char* prefName , PRInt32 value )
|
| nsIPrefBranch |
void unlockPref ( char* prefName )
|
Reference documentation is generated from Mozilla's source.
