Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsISecurityPref Interface Reference

import "nsISecurityPref.idl";

Inheritance diagram for nsISecurityPref:

nsISupports

List of all members.


Detailed Description

Interface for accessing preferences, bypassing the usual security check on preferences starting with "capability". This interface is used by nsScriptSecurityManager which needs unchecked access to security prefs. *PLEASE* do not call this interface from any other file, as this would be insecure.

THIS INTERFACE SHOULD NEVER BE MADE SCRIPTABLE

See also:
nsIPrefBranch

Definition at line 53 of file nsISecurityPref.idl.


Public Member Functions

void securityClearUserPref (in string pref_name)
boolean securityGetBoolPref (in string pref)
string securityGetCharPref (in string pref)
long securityGetIntPref (in string pref)
void securitySetBoolPref (in string pref, in boolean value)
void securitySetCharPref (in string pref, in string value)
void securitySetIntPref (in string pref, in long value)
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

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

Generated by  Doxygen 1.6.0   Back to index