LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIPrefBranch.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2012-06-02 Functions: 1 1 100.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/modules/libpref/public/nsIPrefBranch.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIPrefBranch_h__
       6                 : #define __gen_nsIPrefBranch_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : class nsIObserver; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsIPrefBranch */
      21                 : #define NS_IPREFBRANCH_IID_STR "7df46a54-d8b0-448e-903c-4341a1b2499c"
      22                 : 
      23                 : #define NS_IPREFBRANCH_IID \
      24                 :   {0x7df46a54, 0xd8b0, 0x448e, \
      25                 :     { 0x90, 0x3c, 0x43, 0x41, 0xa1, 0xb2, 0x49, 0x9c }}
      26                 : 
      27            7144 : class NS_NO_VTABLE NS_SCRIPTABLE nsIPrefBranch : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPREFBRANCH_IID)
      31                 : 
      32                 :   enum {
      33                 :     PREF_INVALID = 0,
      34                 :     PREF_STRING = 32,
      35                 :     PREF_INT = 64,
      36                 :     PREF_BOOL = 128
      37                 :   };
      38                 : 
      39                 :   /* readonly attribute string root; */
      40                 :   NS_SCRIPTABLE NS_IMETHOD GetRoot(char * *aRoot) = 0;
      41                 : 
      42                 :   /* long getPrefType (in string aPrefName); */
      43                 :   NS_SCRIPTABLE NS_IMETHOD GetPrefType(const char * aPrefName, PRInt32 *_retval NS_OUTPARAM) = 0;
      44                 : 
      45                 :   /* boolean getBoolPref (in string aPrefName); */
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetBoolPref(const char * aPrefName, bool *_retval NS_OUTPARAM) = 0;
      47                 : 
      48                 :   /* void setBoolPref (in string aPrefName, in boolean aValue); */
      49                 :   NS_SCRIPTABLE NS_IMETHOD SetBoolPref(const char * aPrefName, bool aValue) = 0;
      50                 : 
      51                 :   /* string getCharPref (in string aPrefName); */
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetCharPref(const char * aPrefName, char * *_retval NS_OUTPARAM) = 0;
      53                 : 
      54                 :   /* void setCharPref (in string aPrefName, in string aValue); */
      55                 :   NS_SCRIPTABLE NS_IMETHOD SetCharPref(const char * aPrefName, const char * aValue) = 0;
      56                 : 
      57                 :   /* long getIntPref (in string aPrefName); */
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetIntPref(const char * aPrefName, PRInt32 *_retval NS_OUTPARAM) = 0;
      59                 : 
      60                 :   /* void setIntPref (in string aPrefName, in long aValue); */
      61                 :   NS_SCRIPTABLE NS_IMETHOD SetIntPref(const char * aPrefName, PRInt32 aValue) = 0;
      62                 : 
      63                 :   /* void getComplexValue (in string aPrefName, in nsIIDRef aType, [iid_is (aType), retval] out nsQIResult aValue); */
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetComplexValue(const char * aPrefName, const nsIID & aType, void **aValue NS_OUTPARAM) = 0;
      65                 : 
      66                 :   /* void setComplexValue (in string aPrefName, in nsIIDRef aType, in nsISupports aValue); */
      67                 :   NS_SCRIPTABLE NS_IMETHOD SetComplexValue(const char * aPrefName, const nsIID & aType, nsISupports *aValue) = 0;
      68                 : 
      69                 :   /* void clearUserPref (in string aPrefName); */
      70                 :   NS_SCRIPTABLE NS_IMETHOD ClearUserPref(const char * aPrefName) = 0;
      71                 : 
      72                 :   /* void lockPref (in string aPrefName); */
      73                 :   NS_SCRIPTABLE NS_IMETHOD LockPref(const char * aPrefName) = 0;
      74                 : 
      75                 :   /* boolean prefHasUserValue (in string aPrefName); */
      76                 :   NS_SCRIPTABLE NS_IMETHOD PrefHasUserValue(const char * aPrefName, bool *_retval NS_OUTPARAM) = 0;
      77                 : 
      78                 :   /* boolean prefIsLocked (in string aPrefName); */
      79                 :   NS_SCRIPTABLE NS_IMETHOD PrefIsLocked(const char * aPrefName, bool *_retval NS_OUTPARAM) = 0;
      80                 : 
      81                 :   /* void unlockPref (in string aPrefName); */
      82                 :   NS_SCRIPTABLE NS_IMETHOD UnlockPref(const char * aPrefName) = 0;
      83                 : 
      84                 :   /* void deleteBranch (in string aStartingAt); */
      85                 :   NS_SCRIPTABLE NS_IMETHOD DeleteBranch(const char * aStartingAt) = 0;
      86                 : 
      87                 :   /* void getChildList (in string aStartingAt, [optional] out unsigned long aCount, [array, size_is (aCount), retval] out string aChildArray); */
      88                 :   NS_SCRIPTABLE NS_IMETHOD GetChildList(const char * aStartingAt, PRUint32 *aCount NS_OUTPARAM, char * **aChildArray NS_OUTPARAM) = 0;
      89                 : 
      90                 :   /* void resetBranch (in string aStartingAt); */
      91                 :   NS_SCRIPTABLE NS_IMETHOD ResetBranch(const char * aStartingAt) = 0;
      92                 : 
      93                 :   /* void addObserver (in string aDomain, in nsIObserver aObserver, in boolean aHoldWeak); */
      94                 :   NS_SCRIPTABLE NS_IMETHOD AddObserver(const char * aDomain, nsIObserver *aObserver, bool aHoldWeak) = 0;
      95                 : 
      96                 :   /* void removeObserver (in string aDomain, in nsIObserver aObserver); */
      97                 :   NS_SCRIPTABLE NS_IMETHOD RemoveObserver(const char * aDomain, nsIObserver *aObserver) = 0;
      98                 : 
      99                 : };
     100                 : 
     101                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPrefBranch, NS_IPREFBRANCH_IID)
     102                 : 
     103                 : /* Use this macro when declaring classes that implement this interface. */
     104                 : #define NS_DECL_NSIPREFBRANCH \
     105                 :   NS_SCRIPTABLE NS_IMETHOD GetRoot(char * *aRoot); \
     106                 :   NS_SCRIPTABLE NS_IMETHOD GetPrefType(const char * aPrefName, PRInt32 *_retval NS_OUTPARAM); \
     107                 :   NS_SCRIPTABLE NS_IMETHOD GetBoolPref(const char * aPrefName, bool *_retval NS_OUTPARAM); \
     108                 :   NS_SCRIPTABLE NS_IMETHOD SetBoolPref(const char * aPrefName, bool aValue); \
     109                 :   NS_SCRIPTABLE NS_IMETHOD GetCharPref(const char * aPrefName, char * *_retval NS_OUTPARAM); \
     110                 :   NS_SCRIPTABLE NS_IMETHOD SetCharPref(const char * aPrefName, const char * aValue); \
     111                 :   NS_SCRIPTABLE NS_IMETHOD GetIntPref(const char * aPrefName, PRInt32 *_retval NS_OUTPARAM); \
     112                 :   NS_SCRIPTABLE NS_IMETHOD SetIntPref(const char * aPrefName, PRInt32 aValue); \
     113                 :   NS_SCRIPTABLE NS_IMETHOD GetComplexValue(const char * aPrefName, const nsIID & aType, void **aValue NS_OUTPARAM); \
     114                 :   NS_SCRIPTABLE NS_IMETHOD SetComplexValue(const char * aPrefName, const nsIID & aType, nsISupports *aValue); \
     115                 :   NS_SCRIPTABLE NS_IMETHOD ClearUserPref(const char * aPrefName); \
     116                 :   NS_SCRIPTABLE NS_IMETHOD LockPref(const char * aPrefName); \
     117                 :   NS_SCRIPTABLE NS_IMETHOD PrefHasUserValue(const char * aPrefName, bool *_retval NS_OUTPARAM); \
     118                 :   NS_SCRIPTABLE NS_IMETHOD PrefIsLocked(const char * aPrefName, bool *_retval NS_OUTPARAM); \
     119                 :   NS_SCRIPTABLE NS_IMETHOD UnlockPref(const char * aPrefName); \
     120                 :   NS_SCRIPTABLE NS_IMETHOD DeleteBranch(const char * aStartingAt); \
     121                 :   NS_SCRIPTABLE NS_IMETHOD GetChildList(const char * aStartingAt, PRUint32 *aCount NS_OUTPARAM, char * **aChildArray NS_OUTPARAM); \
     122                 :   NS_SCRIPTABLE NS_IMETHOD ResetBranch(const char * aStartingAt); \
     123                 :   NS_SCRIPTABLE NS_IMETHOD AddObserver(const char * aDomain, nsIObserver *aObserver, bool aHoldWeak); \
     124                 :   NS_SCRIPTABLE NS_IMETHOD RemoveObserver(const char * aDomain, nsIObserver *aObserver); 
     125                 : 
     126                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     127                 : #define NS_FORWARD_NSIPREFBRANCH(_to) \
     128                 :   NS_SCRIPTABLE NS_IMETHOD GetRoot(char * *aRoot) { return _to GetRoot(aRoot); } \
     129                 :   NS_SCRIPTABLE NS_IMETHOD GetPrefType(const char * aPrefName, PRInt32 *_retval NS_OUTPARAM) { return _to GetPrefType(aPrefName, _retval); } \
     130                 :   NS_SCRIPTABLE NS_IMETHOD GetBoolPref(const char * aPrefName, bool *_retval NS_OUTPARAM) { return _to GetBoolPref(aPrefName, _retval); } \
     131                 :   NS_SCRIPTABLE NS_IMETHOD SetBoolPref(const char * aPrefName, bool aValue) { return _to SetBoolPref(aPrefName, aValue); } \
     132                 :   NS_SCRIPTABLE NS_IMETHOD GetCharPref(const char * aPrefName, char * *_retval NS_OUTPARAM) { return _to GetCharPref(aPrefName, _retval); } \
     133                 :   NS_SCRIPTABLE NS_IMETHOD SetCharPref(const char * aPrefName, const char * aValue) { return _to SetCharPref(aPrefName, aValue); } \
     134                 :   NS_SCRIPTABLE NS_IMETHOD GetIntPref(const char * aPrefName, PRInt32 *_retval NS_OUTPARAM) { return _to GetIntPref(aPrefName, _retval); } \
     135                 :   NS_SCRIPTABLE NS_IMETHOD SetIntPref(const char * aPrefName, PRInt32 aValue) { return _to SetIntPref(aPrefName, aValue); } \
     136                 :   NS_SCRIPTABLE NS_IMETHOD GetComplexValue(const char * aPrefName, const nsIID & aType, void **aValue NS_OUTPARAM) { return _to GetComplexValue(aPrefName, aType, aValue); } \
     137                 :   NS_SCRIPTABLE NS_IMETHOD SetComplexValue(const char * aPrefName, const nsIID & aType, nsISupports *aValue) { return _to SetComplexValue(aPrefName, aType, aValue); } \
     138                 :   NS_SCRIPTABLE NS_IMETHOD ClearUserPref(const char * aPrefName) { return _to ClearUserPref(aPrefName); } \
     139                 :   NS_SCRIPTABLE NS_IMETHOD LockPref(const char * aPrefName) { return _to LockPref(aPrefName); } \
     140                 :   NS_SCRIPTABLE NS_IMETHOD PrefHasUserValue(const char * aPrefName, bool *_retval NS_OUTPARAM) { return _to PrefHasUserValue(aPrefName, _retval); } \
     141                 :   NS_SCRIPTABLE NS_IMETHOD PrefIsLocked(const char * aPrefName, bool *_retval NS_OUTPARAM) { return _to PrefIsLocked(aPrefName, _retval); } \
     142                 :   NS_SCRIPTABLE NS_IMETHOD UnlockPref(const char * aPrefName) { return _to UnlockPref(aPrefName); } \
     143                 :   NS_SCRIPTABLE NS_IMETHOD DeleteBranch(const char * aStartingAt) { return _to DeleteBranch(aStartingAt); } \
     144                 :   NS_SCRIPTABLE NS_IMETHOD GetChildList(const char * aStartingAt, PRUint32 *aCount NS_OUTPARAM, char * **aChildArray NS_OUTPARAM) { return _to GetChildList(aStartingAt, aCount, aChildArray); } \
     145                 :   NS_SCRIPTABLE NS_IMETHOD ResetBranch(const char * aStartingAt) { return _to ResetBranch(aStartingAt); } \
     146                 :   NS_SCRIPTABLE NS_IMETHOD AddObserver(const char * aDomain, nsIObserver *aObserver, bool aHoldWeak) { return _to AddObserver(aDomain, aObserver, aHoldWeak); } \
     147                 :   NS_SCRIPTABLE NS_IMETHOD RemoveObserver(const char * aDomain, nsIObserver *aObserver) { return _to RemoveObserver(aDomain, aObserver); } 
     148                 : 
     149                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     150                 : #define NS_FORWARD_SAFE_NSIPREFBRANCH(_to) \
     151                 :   NS_SCRIPTABLE NS_IMETHOD GetRoot(char * *aRoot) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRoot(aRoot); } \
     152                 :   NS_SCRIPTABLE NS_IMETHOD GetPrefType(const char * aPrefName, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrefType(aPrefName, _retval); } \
     153                 :   NS_SCRIPTABLE NS_IMETHOD GetBoolPref(const char * aPrefName, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBoolPref(aPrefName, _retval); } \
     154                 :   NS_SCRIPTABLE NS_IMETHOD SetBoolPref(const char * aPrefName, bool aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBoolPref(aPrefName, aValue); } \
     155                 :   NS_SCRIPTABLE NS_IMETHOD GetCharPref(const char * aPrefName, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharPref(aPrefName, _retval); } \
     156                 :   NS_SCRIPTABLE NS_IMETHOD SetCharPref(const char * aPrefName, const char * aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharPref(aPrefName, aValue); } \
     157                 :   NS_SCRIPTABLE NS_IMETHOD GetIntPref(const char * aPrefName, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIntPref(aPrefName, _retval); } \
     158                 :   NS_SCRIPTABLE NS_IMETHOD SetIntPref(const char * aPrefName, PRInt32 aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIntPref(aPrefName, aValue); } \
     159                 :   NS_SCRIPTABLE NS_IMETHOD GetComplexValue(const char * aPrefName, const nsIID & aType, void **aValue NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComplexValue(aPrefName, aType, aValue); } \
     160                 :   NS_SCRIPTABLE NS_IMETHOD SetComplexValue(const char * aPrefName, const nsIID & aType, nsISupports *aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetComplexValue(aPrefName, aType, aValue); } \
     161                 :   NS_SCRIPTABLE NS_IMETHOD ClearUserPref(const char * aPrefName) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearUserPref(aPrefName); } \
     162                 :   NS_SCRIPTABLE NS_IMETHOD LockPref(const char * aPrefName) { return !_to ? NS_ERROR_NULL_POINTER : _to->LockPref(aPrefName); } \
     163                 :   NS_SCRIPTABLE NS_IMETHOD PrefHasUserValue(const char * aPrefName, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->PrefHasUserValue(aPrefName, _retval); } \
     164                 :   NS_SCRIPTABLE NS_IMETHOD PrefIsLocked(const char * aPrefName, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->PrefIsLocked(aPrefName, _retval); } \
     165                 :   NS_SCRIPTABLE NS_IMETHOD UnlockPref(const char * aPrefName) { return !_to ? NS_ERROR_NULL_POINTER : _to->UnlockPref(aPrefName); } \
     166                 :   NS_SCRIPTABLE NS_IMETHOD DeleteBranch(const char * aStartingAt) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteBranch(aStartingAt); } \
     167                 :   NS_SCRIPTABLE NS_IMETHOD GetChildList(const char * aStartingAt, PRUint32 *aCount NS_OUTPARAM, char * **aChildArray NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChildList(aStartingAt, aCount, aChildArray); } \
     168                 :   NS_SCRIPTABLE NS_IMETHOD ResetBranch(const char * aStartingAt) { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetBranch(aStartingAt); } \
     169                 :   NS_SCRIPTABLE NS_IMETHOD AddObserver(const char * aDomain, nsIObserver *aObserver, bool aHoldWeak) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddObserver(aDomain, aObserver, aHoldWeak); } \
     170                 :   NS_SCRIPTABLE NS_IMETHOD RemoveObserver(const char * aDomain, nsIObserver *aObserver) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveObserver(aDomain, aObserver); } 
     171                 : 
     172                 : #if 0
     173                 : /* Use the code below as a template for the implementation class for this interface. */
     174                 : 
     175                 : /* Header file */
     176                 : class nsPrefBranch : public nsIPrefBranch
     177                 : {
     178                 : public:
     179                 :   NS_DECL_ISUPPORTS
     180                 :   NS_DECL_NSIPREFBRANCH
     181                 : 
     182                 :   nsPrefBranch();
     183                 : 
     184                 : private:
     185                 :   ~nsPrefBranch();
     186                 : 
     187                 : protected:
     188                 :   /* additional members */
     189                 : };
     190                 : 
     191                 : /* Implementation file */
     192                 : NS_IMPL_ISUPPORTS1(nsPrefBranch, nsIPrefBranch)
     193                 : 
     194                 : nsPrefBranch::nsPrefBranch()
     195                 : {
     196                 :   /* member initializers and constructor code */
     197                 : }
     198                 : 
     199                 : nsPrefBranch::~nsPrefBranch()
     200                 : {
     201                 :   /* destructor code */
     202                 : }
     203                 : 
     204                 : /* readonly attribute string root; */
     205                 : NS_IMETHODIMP nsPrefBranch::GetRoot(char * *aRoot)
     206                 : {
     207                 :     return NS_ERROR_NOT_IMPLEMENTED;
     208                 : }
     209                 : 
     210                 : /* long getPrefType (in string aPrefName); */
     211                 : NS_IMETHODIMP nsPrefBranch::GetPrefType(const char * aPrefName, PRInt32 *_retval NS_OUTPARAM)
     212                 : {
     213                 :     return NS_ERROR_NOT_IMPLEMENTED;
     214                 : }
     215                 : 
     216                 : /* boolean getBoolPref (in string aPrefName); */
     217                 : NS_IMETHODIMP nsPrefBranch::GetBoolPref(const char * aPrefName, bool *_retval NS_OUTPARAM)
     218                 : {
     219                 :     return NS_ERROR_NOT_IMPLEMENTED;
     220                 : }
     221                 : 
     222                 : /* void setBoolPref (in string aPrefName, in boolean aValue); */
     223                 : NS_IMETHODIMP nsPrefBranch::SetBoolPref(const char * aPrefName, bool aValue)
     224                 : {
     225                 :     return NS_ERROR_NOT_IMPLEMENTED;
     226                 : }
     227                 : 
     228                 : /* string getCharPref (in string aPrefName); */
     229                 : NS_IMETHODIMP nsPrefBranch::GetCharPref(const char * aPrefName, char * *_retval NS_OUTPARAM)
     230                 : {
     231                 :     return NS_ERROR_NOT_IMPLEMENTED;
     232                 : }
     233                 : 
     234                 : /* void setCharPref (in string aPrefName, in string aValue); */
     235                 : NS_IMETHODIMP nsPrefBranch::SetCharPref(const char * aPrefName, const char * aValue)
     236                 : {
     237                 :     return NS_ERROR_NOT_IMPLEMENTED;
     238                 : }
     239                 : 
     240                 : /* long getIntPref (in string aPrefName); */
     241                 : NS_IMETHODIMP nsPrefBranch::GetIntPref(const char * aPrefName, PRInt32 *_retval NS_OUTPARAM)
     242                 : {
     243                 :     return NS_ERROR_NOT_IMPLEMENTED;
     244                 : }
     245                 : 
     246                 : /* void setIntPref (in string aPrefName, in long aValue); */
     247                 : NS_IMETHODIMP nsPrefBranch::SetIntPref(const char * aPrefName, PRInt32 aValue)
     248                 : {
     249                 :     return NS_ERROR_NOT_IMPLEMENTED;
     250                 : }
     251                 : 
     252                 : /* void getComplexValue (in string aPrefName, in nsIIDRef aType, [iid_is (aType), retval] out nsQIResult aValue); */
     253                 : NS_IMETHODIMP nsPrefBranch::GetComplexValue(const char * aPrefName, const nsIID & aType, void **aValue NS_OUTPARAM)
     254                 : {
     255                 :     return NS_ERROR_NOT_IMPLEMENTED;
     256                 : }
     257                 : 
     258                 : /* void setComplexValue (in string aPrefName, in nsIIDRef aType, in nsISupports aValue); */
     259                 : NS_IMETHODIMP nsPrefBranch::SetComplexValue(const char * aPrefName, const nsIID & aType, nsISupports *aValue)
     260                 : {
     261                 :     return NS_ERROR_NOT_IMPLEMENTED;
     262                 : }
     263                 : 
     264                 : /* void clearUserPref (in string aPrefName); */
     265                 : NS_IMETHODIMP nsPrefBranch::ClearUserPref(const char * aPrefName)
     266                 : {
     267                 :     return NS_ERROR_NOT_IMPLEMENTED;
     268                 : }
     269                 : 
     270                 : /* void lockPref (in string aPrefName); */
     271                 : NS_IMETHODIMP nsPrefBranch::LockPref(const char * aPrefName)
     272                 : {
     273                 :     return NS_ERROR_NOT_IMPLEMENTED;
     274                 : }
     275                 : 
     276                 : /* boolean prefHasUserValue (in string aPrefName); */
     277                 : NS_IMETHODIMP nsPrefBranch::PrefHasUserValue(const char * aPrefName, bool *_retval NS_OUTPARAM)
     278                 : {
     279                 :     return NS_ERROR_NOT_IMPLEMENTED;
     280                 : }
     281                 : 
     282                 : /* boolean prefIsLocked (in string aPrefName); */
     283                 : NS_IMETHODIMP nsPrefBranch::PrefIsLocked(const char * aPrefName, bool *_retval NS_OUTPARAM)
     284                 : {
     285                 :     return NS_ERROR_NOT_IMPLEMENTED;
     286                 : }
     287                 : 
     288                 : /* void unlockPref (in string aPrefName); */
     289                 : NS_IMETHODIMP nsPrefBranch::UnlockPref(const char * aPrefName)
     290                 : {
     291                 :     return NS_ERROR_NOT_IMPLEMENTED;
     292                 : }
     293                 : 
     294                 : /* void deleteBranch (in string aStartingAt); */
     295                 : NS_IMETHODIMP nsPrefBranch::DeleteBranch(const char * aStartingAt)
     296                 : {
     297                 :     return NS_ERROR_NOT_IMPLEMENTED;
     298                 : }
     299                 : 
     300                 : /* void getChildList (in string aStartingAt, [optional] out unsigned long aCount, [array, size_is (aCount), retval] out string aChildArray); */
     301                 : NS_IMETHODIMP nsPrefBranch::GetChildList(const char * aStartingAt, PRUint32 *aCount NS_OUTPARAM, char * **aChildArray NS_OUTPARAM)
     302                 : {
     303                 :     return NS_ERROR_NOT_IMPLEMENTED;
     304                 : }
     305                 : 
     306                 : /* void resetBranch (in string aStartingAt); */
     307                 : NS_IMETHODIMP nsPrefBranch::ResetBranch(const char * aStartingAt)
     308                 : {
     309                 :     return NS_ERROR_NOT_IMPLEMENTED;
     310                 : }
     311                 : 
     312                 : /* void addObserver (in string aDomain, in nsIObserver aObserver, in boolean aHoldWeak); */
     313                 : NS_IMETHODIMP nsPrefBranch::AddObserver(const char * aDomain, nsIObserver *aObserver, bool aHoldWeak)
     314                 : {
     315                 :     return NS_ERROR_NOT_IMPLEMENTED;
     316                 : }
     317                 : 
     318                 : /* void removeObserver (in string aDomain, in nsIObserver aObserver); */
     319                 : NS_IMETHODIMP nsPrefBranch::RemoveObserver(const char * aDomain, nsIObserver *aObserver)
     320                 : {
     321                 :     return NS_ERROR_NOT_IMPLEMENTED;
     322                 : }
     323                 : 
     324                 : /* End of implementation class template. */
     325                 : #endif
     326                 : 
     327                 : 
     328                 : #define NS_PREFBRANCH_CONTRACTID "@mozilla.org/preferencesbranch;1"
     329                 : #define NS_PREFBRANCH_CLASSNAME "Preferences Branch"
     330                 : /**
     331                 :  * Notification sent when a preference changes.
     332                 :  */
     333                 : #define NS_PREFBRANCH_PREFCHANGE_TOPIC_ID "nsPref:changed"
     334                 : 
     335                 : #endif /* __gen_nsIPrefBranch_h__ */

Generated by: LCOV version 1.7