LCOV - app.info - objdir/dist/include/nsIWritablePropertyBag2.h

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-aurora-lnx-codecoverage/build/xpcom/ds/nsIWritablePropertyBag2.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIWritablePropertyBag2_h__
           6                 : #define __gen_nsIWritablePropertyBag2_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_nsIPropertyBag2_h__
          10                 : #include "nsIPropertyBag2.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                 :
          18                 : /* starting interface:    nsIWritablePropertyBag2 */
          19                 : #define NS_IWRITABLEPROPERTYBAG2_IID_STR "9cfd1587-360e-4957-a58f-4c2b1c5e7ed9"
          20                 :
          21                 : #define NS_IWRITABLEPROPERTYBAG2_IID \
          22                 :   {0x9cfd1587, 0x360e, 0x4957, \
          23                 :     { 0xa5, 0x8f, 0x4c, 0x2b, 0x1c, 0x5e, 0x7e, 0xd9 }}
          24                 :
          25           57393 : class NS_NO_VTABLE NS_SCRIPTABLE nsIWritablePropertyBag2 : public nsIPropertyBag2 {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWRITABLEPROPERTYBAG2_IID)
          29                 :
          30                 :   /* void setPropertyAsInt32 (in AString prop, in PRInt32 value); */
          31                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInt32(const nsAString & prop, PRInt32 value) = 0;
          32                 :
          33                 :   /* void setPropertyAsUint32 (in AString prop, in PRUint32 value); */
          34                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsUint32(const nsAString & prop, PRUint32 value) = 0;
          35                 :
          36                 :   /* void setPropertyAsInt64 (in AString prop, in PRInt64 value); */
          37                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInt64(const nsAString & prop, PRInt64 value) = 0;
          38                 :
          39                 :   /* void setPropertyAsUint64 (in AString prop, in PRUint64 value); */
          40                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsUint64(const nsAString & prop, PRUint64 value) = 0;
          41                 :
          42                 :   /* void setPropertyAsDouble (in AString prop, in double value); */
          43                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsDouble(const nsAString & prop, double value) = 0;
          44                 :
          45                 :   /* void setPropertyAsAString (in AString prop, in AString value); */
          46                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsAString(const nsAString & prop, const nsAString & value) = 0;
          47                 :
          48                 :   /* void setPropertyAsACString (in AString prop, in ACString value); */
          49                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsACString(const nsAString & prop, const nsACString & value) = 0;
          50                 :
          51                 :   /* void setPropertyAsAUTF8String (in AString prop, in AUTF8String value); */
          52                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsAUTF8String(const nsAString & prop, const nsACString & value) = 0;
          53                 :
          54                 :   /* void setPropertyAsBool (in AString prop, in boolean value); */
          55                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsBool(const nsAString & prop, bool value) = 0;
          56                 :
          57                 :   /* void setPropertyAsInterface (in AString prop, in nsISupports value); */
          58                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInterface(const nsAString & prop, nsISupports *value) = 0;
          59                 :
          60                 : };
          61                 :
          62                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIWritablePropertyBag2, NS_IWRITABLEPROPERTYBAG2_IID)
          63                 :
          64                 : /* Use this macro when declaring classes that implement this interface. */
          65                 : #define NS_DECL_NSIWRITABLEPROPERTYBAG2 \
          66                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInt32(const nsAString & prop, PRInt32 value); \
          67                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsUint32(const nsAString & prop, PRUint32 value); \
          68                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInt64(const nsAString & prop, PRInt64 value); \
          69                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsUint64(const nsAString & prop, PRUint64 value); \
          70                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsDouble(const nsAString & prop, double value); \
          71                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsAString(const nsAString & prop, const nsAString & value); \
          72                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsACString(const nsAString & prop, const nsACString & value); \
          73                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsAUTF8String(const nsAString & prop, const nsACString & value); \
          74                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsBool(const nsAString & prop, bool value); \
          75                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInterface(const nsAString & prop, nsISupports *value);
          76                 :
          77                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          78                 : #define NS_FORWARD_NSIWRITABLEPROPERTYBAG2(_to) \
          79                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInt32(const nsAString & prop, PRInt32 value) { return _to SetPropertyAsInt32(prop, value); } \
          80                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsUint32(const nsAString & prop, PRUint32 value) { return _to SetPropertyAsUint32(prop, value); } \
          81                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInt64(const nsAString & prop, PRInt64 value) { return _to SetPropertyAsInt64(prop, value); } \
          82                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsUint64(const nsAString & prop, PRUint64 value) { return _to SetPropertyAsUint64(prop, value); } \
          83                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsDouble(const nsAString & prop, double value) { return _to SetPropertyAsDouble(prop, value); } \
          84                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsAString(const nsAString & prop, const nsAString & value) { return _to SetPropertyAsAString(prop, value); } \
          85                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsACString(const nsAString & prop, const nsACString & value) { return _to SetPropertyAsACString(prop, value); } \
          86                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsAUTF8String(const nsAString & prop, const nsACString & value) { return _to SetPropertyAsAUTF8String(prop, value); } \
          87                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsBool(const nsAString & prop, bool value) { return _to SetPropertyAsBool(prop, value); } \
          88                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInterface(const nsAString & prop, nsISupports *value) { return _to SetPropertyAsInterface(prop, value); }
          89                 :
          90                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          91                 : #define NS_FORWARD_SAFE_NSIWRITABLEPROPERTYBAG2(_to) \
          92                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInt32(const nsAString & prop, PRInt32 value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropertyAsInt32(prop, value); } \
          93                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsUint32(const nsAString & prop, PRUint32 value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropertyAsUint32(prop, value); } \
          94                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInt64(const nsAString & prop, PRInt64 value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropertyAsInt64(prop, value); } \
          95                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsUint64(const nsAString & prop, PRUint64 value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropertyAsUint64(prop, value); } \
          96                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsDouble(const nsAString & prop, double value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropertyAsDouble(prop, value); } \
          97                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsAString(const nsAString & prop, const nsAString & value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropertyAsAString(prop, value); } \
          98                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsACString(const nsAString & prop, const nsACString & value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropertyAsACString(prop, value); } \
          99                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsAUTF8String(const nsAString & prop, const nsACString & value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropertyAsAUTF8String(prop, value); } \
         100                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsBool(const nsAString & prop, bool value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropertyAsBool(prop, value); } \
         101                 :   NS_SCRIPTABLE NS_IMETHOD SetPropertyAsInterface(const nsAString & prop, nsISupports *value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropertyAsInterface(prop, value); }
         102                 :
         103                 : #if 0
         104                 : /* Use the code below as a template for the implementation class for this interface. */
         105                 :
         106                 : /* Header file */
         107                 : class nsWritablePropertyBag2 : public nsIWritablePropertyBag2
         108                 : {
         109                 : public:
         110                 :   NS_DECL_ISUPPORTS
         111                 :   NS_DECL_NSIWRITABLEPROPERTYBAG2
         112                 :
         113                 :   nsWritablePropertyBag2();
         114                 :
         115                 : private:
         116                 :   ~nsWritablePropertyBag2();
         117                 :
         118                 : protected:
         119                 :   /* additional members */
         120                 : };
         121                 :
         122                 : /* Implementation file */
         123                 : NS_IMPL_ISUPPORTS1(nsWritablePropertyBag2, nsIWritablePropertyBag2)
         124                 :
         125                 : nsWritablePropertyBag2::nsWritablePropertyBag2()
         126                 : {
         127                 :   /* member initializers and constructor code */
         128                 : }
         129                 :
         130                 : nsWritablePropertyBag2::~nsWritablePropertyBag2()
         131                 : {
         132                 :   /* destructor code */
         133                 : }
         134                 :
         135                 : /* void setPropertyAsInt32 (in AString prop, in PRInt32 value); */
         136                 : NS_IMETHODIMP nsWritablePropertyBag2::SetPropertyAsInt32(const nsAString & prop, PRInt32 value)
         137                 : {
         138                 :     return NS_ERROR_NOT_IMPLEMENTED;
         139                 : }
         140                 :
         141                 : /* void setPropertyAsUint32 (in AString prop, in PRUint32 value); */
         142                 : NS_IMETHODIMP nsWritablePropertyBag2::SetPropertyAsUint32(const nsAString & prop, PRUint32 value)
         143                 : {
         144                 :     return NS_ERROR_NOT_IMPLEMENTED;
         145                 : }
         146                 :
         147                 : /* void setPropertyAsInt64 (in AString prop, in PRInt64 value); */
         148                 : NS_IMETHODIMP nsWritablePropertyBag2::SetPropertyAsInt64(const nsAString & prop, PRInt64 value)
         149                 : {
         150                 :     return NS_ERROR_NOT_IMPLEMENTED;
         151                 : }
         152                 :
         153                 : /* void setPropertyAsUint64 (in AString prop, in PRUint64 value); */
         154                 : NS_IMETHODIMP nsWritablePropertyBag2::SetPropertyAsUint64(const nsAString & prop, PRUint64 value)
         155                 : {
         156                 :     return NS_ERROR_NOT_IMPLEMENTED;
         157                 : }
         158                 :
         159                 : /* void setPropertyAsDouble (in AString prop, in double value); */
         160                 : NS_IMETHODIMP nsWritablePropertyBag2::SetPropertyAsDouble(const nsAString & prop, double value)
         161                 : {
         162                 :     return NS_ERROR_NOT_IMPLEMENTED;
         163                 : }
         164                 :
         165                 : /* void setPropertyAsAString (in AString prop, in AString value); */
         166                 : NS_IMETHODIMP nsWritablePropertyBag2::SetPropertyAsAString(const nsAString & prop, const nsAString & value)
         167                 : {
         168                 :     return NS_ERROR_NOT_IMPLEMENTED;
         169                 : }
         170                 :
         171                 : /* void setPropertyAsACString (in AString prop, in ACString value); */
         172                 : NS_IMETHODIMP nsWritablePropertyBag2::SetPropertyAsACString(const nsAString & prop, const nsACString & value)
         173                 : {
         174                 :     return NS_ERROR_NOT_IMPLEMENTED;
         175                 : }
         176                 :
         177                 : /* void setPropertyAsAUTF8String (in AString prop, in AUTF8String value); */
         178                 : NS_IMETHODIMP nsWritablePropertyBag2::SetPropertyAsAUTF8String(const nsAString & prop, const nsACString & value)
         179                 : {
         180                 :     return NS_ERROR_NOT_IMPLEMENTED;
         181                 : }
         182                 :
         183                 : /* void setPropertyAsBool (in AString prop, in boolean value); */
         184                 : NS_IMETHODIMP nsWritablePropertyBag2::SetPropertyAsBool(const nsAString & prop, bool value)
         185                 : {
         186                 :     return NS_ERROR_NOT_IMPLEMENTED;
         187                 : }
         188                 :
         189                 : /* void setPropertyAsInterface (in AString prop, in nsISupports value); */
         190                 : NS_IMETHODIMP nsWritablePropertyBag2::SetPropertyAsInterface(const nsAString & prop, nsISupports *value)
         191                 : {
         192                 :     return NS_ERROR_NOT_IMPLEMENTED;
         193                 : }
         194                 :
         195                 : /* End of implementation class template. */
         196                 : #endif
         197                 :
         198                 :
         199                 : #endif /* __gen_nsIWritablePropertyBag2_h__ */

Generated by: LCOV version 1.7