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

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGLengthList.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMSVGLengthList_h__
           6                 : #define __gen_nsIDOMSVGLengthList_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_domstubs_h__
          10                 : #include "domstubs.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 nsIDOMSVGLength; /* forward declaration */
          18                 :
          19                 :
          20                 : /* starting interface:    nsIDOMSVGLengthList */
          21                 : #define NS_IDOMSVGLENGTHLIST_IID_STR "f8c89734-d6b4-4a56-bdf5-1ce1104dc1ab"
          22                 :
          23                 : #define NS_IDOMSVGLENGTHLIST_IID \
          24                 :   {0xf8c89734, 0xd6b4, 0x4a56, \
          25                 :     { 0xbd, 0xf5, 0x1c, 0xe1, 0x10, 0x4d, 0xc1, 0xab }}
          26                 :
          27               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGLengthList : public nsISupports {
          28                 :  public:
          29                 :
          30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGLENGTHLIST_IID)
          31                 :
          32                 :   /* readonly attribute unsigned long numberOfItems; */
          33                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfItems(PRUint32 *aNumberOfItems) = 0;
          34                 :
          35                 :   /* readonly attribute unsigned long length; */
          36                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
          37                 :
          38                 :   /* void clear (); */
          39                 :   NS_SCRIPTABLE NS_IMETHOD Clear(void) = 0;
          40                 :
          41                 :   /* nsIDOMSVGLength initialize (in nsIDOMSVGLength newItem); */
          42                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(nsIDOMSVGLength *newItem, nsIDOMSVGLength * *_retval NS_OUTPARAM) = 0;
          43                 :
          44                 :   /* nsIDOMSVGLength getItem (in unsigned long index); */
          45                 :   NS_SCRIPTABLE NS_IMETHOD GetItem(PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) = 0;
          46                 :
          47                 :   /* [getter,noscript,nostdcall,notxpcom] nsIDOMSVGLength getItemAt (in unsigned long index); */
          48                 :   virtual nsIDOMSVGLength * GetItemAt(PRUint32 index) = 0;
          49                 :
          50                 :   /* nsIDOMSVGLength insertItemBefore (in nsIDOMSVGLength newItem, in unsigned long index); */
          51                 :   NS_SCRIPTABLE NS_IMETHOD InsertItemBefore(nsIDOMSVGLength *newItem, PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) = 0;
          52                 :
          53                 :   /* nsIDOMSVGLength replaceItem (in nsIDOMSVGLength newItem, in unsigned long index); */
          54                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceItem(nsIDOMSVGLength *newItem, PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) = 0;
          55                 :
          56                 :   /* nsIDOMSVGLength removeItem (in unsigned long index); */
          57                 :   NS_SCRIPTABLE NS_IMETHOD RemoveItem(PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) = 0;
          58                 :
          59                 :   /* nsIDOMSVGLength appendItem (in nsIDOMSVGLength newItem); */
          60                 :   NS_SCRIPTABLE NS_IMETHOD AppendItem(nsIDOMSVGLength *newItem, nsIDOMSVGLength * *_retval NS_OUTPARAM) = 0;
          61                 :
          62                 : };
          63                 :
          64                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGLengthList, NS_IDOMSVGLENGTHLIST_IID)
          65                 :
          66                 : /* Use this macro when declaring classes that implement this interface. */
          67                 : #define NS_DECL_NSIDOMSVGLENGTHLIST \
          68                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfItems(PRUint32 *aNumberOfItems); \
          69                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \
          70                 :   NS_SCRIPTABLE NS_IMETHOD Clear(void); \
          71                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(nsIDOMSVGLength *newItem, nsIDOMSVGLength * *_retval NS_OUTPARAM); \
          72                 :   NS_SCRIPTABLE NS_IMETHOD GetItem(PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM); \
          73                 :   virtual nsIDOMSVGLength * GetItemAt(PRUint32 index); \
          74                 :   NS_SCRIPTABLE NS_IMETHOD InsertItemBefore(nsIDOMSVGLength *newItem, PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM); \
          75                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceItem(nsIDOMSVGLength *newItem, PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM); \
          76                 :   NS_SCRIPTABLE NS_IMETHOD RemoveItem(PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM); \
          77                 :   NS_SCRIPTABLE NS_IMETHOD AppendItem(nsIDOMSVGLength *newItem, nsIDOMSVGLength * *_retval NS_OUTPARAM);
          78                 :
          79                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          80                 : #define NS_FORWARD_NSIDOMSVGLENGTHLIST(_to) \
          81                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfItems(PRUint32 *aNumberOfItems) { return _to GetNumberOfItems(aNumberOfItems); } \
          82                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
          83                 :   NS_SCRIPTABLE NS_IMETHOD Clear(void) { return _to Clear(); } \
          84                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(nsIDOMSVGLength *newItem, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return _to Initialize(newItem, _retval); } \
          85                 :   NS_SCRIPTABLE NS_IMETHOD GetItem(PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return _to GetItem(index, _retval); } \
          86                 :   virtual nsIDOMSVGLength * GetItemAt(PRUint32 index) { return _to GetItemAt(index); } \
          87                 :   NS_SCRIPTABLE NS_IMETHOD InsertItemBefore(nsIDOMSVGLength *newItem, PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return _to InsertItemBefore(newItem, index, _retval); } \
          88                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceItem(nsIDOMSVGLength *newItem, PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return _to ReplaceItem(newItem, index, _retval); } \
          89                 :   NS_SCRIPTABLE NS_IMETHOD RemoveItem(PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return _to RemoveItem(index, _retval); } \
          90                 :   NS_SCRIPTABLE NS_IMETHOD AppendItem(nsIDOMSVGLength *newItem, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return _to AppendItem(newItem, _retval); }
          91                 :
          92                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          93                 : #define NS_FORWARD_SAFE_NSIDOMSVGLENGTHLIST(_to) \
          94                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfItems(PRUint32 *aNumberOfItems) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumberOfItems(aNumberOfItems); } \
          95                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
          96                 :   NS_SCRIPTABLE NS_IMETHOD Clear(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Clear(); } \
          97                 :   NS_SCRIPTABLE NS_IMETHOD Initialize(nsIDOMSVGLength *newItem, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Initialize(newItem, _retval); } \
          98                 :   NS_SCRIPTABLE NS_IMETHOD GetItem(PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItem(index, _retval); } \
          99                 :   virtual nsIDOMSVGLength * GetItemAt(PRUint32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemAt(index); } \
         100                 :   NS_SCRIPTABLE NS_IMETHOD InsertItemBefore(nsIDOMSVGLength *newItem, PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertItemBefore(newItem, index, _retval); } \
         101                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceItem(nsIDOMSVGLength *newItem, PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReplaceItem(newItem, index, _retval); } \
         102                 :   NS_SCRIPTABLE NS_IMETHOD RemoveItem(PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveItem(index, _retval); } \
         103                 :   NS_SCRIPTABLE NS_IMETHOD AppendItem(nsIDOMSVGLength *newItem, nsIDOMSVGLength * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendItem(newItem, _retval); }
         104                 :
         105                 : #if 0
         106                 : /* Use the code below as a template for the implementation class for this interface. */
         107                 :
         108                 : /* Header file */
         109                 : class nsDOMSVGLengthList : public nsIDOMSVGLengthList
         110                 : {
         111                 : public:
         112                 :   NS_DECL_ISUPPORTS
         113                 :   NS_DECL_NSIDOMSVGLENGTHLIST
         114                 :
         115                 :   nsDOMSVGLengthList();
         116                 :
         117                 : private:
         118                 :   ~nsDOMSVGLengthList();
         119                 :
         120                 : protected:
         121                 :   /* additional members */
         122                 : };
         123                 :
         124                 : /* Implementation file */
         125                 : NS_IMPL_ISUPPORTS1(nsDOMSVGLengthList, nsIDOMSVGLengthList)
         126                 :
         127                 : nsDOMSVGLengthList::nsDOMSVGLengthList()
         128                 : {
         129                 :   /* member initializers and constructor code */
         130                 : }
         131                 :
         132                 : nsDOMSVGLengthList::~nsDOMSVGLengthList()
         133                 : {
         134                 :   /* destructor code */
         135                 : }
         136                 :
         137                 : /* readonly attribute unsigned long numberOfItems; */
         138                 : NS_IMETHODIMP nsDOMSVGLengthList::GetNumberOfItems(PRUint32 *aNumberOfItems)
         139                 : {
         140                 :     return NS_ERROR_NOT_IMPLEMENTED;
         141                 : }
         142                 :
         143                 : /* readonly attribute unsigned long length; */
         144                 : NS_IMETHODIMP nsDOMSVGLengthList::GetLength(PRUint32 *aLength)
         145                 : {
         146                 :     return NS_ERROR_NOT_IMPLEMENTED;
         147                 : }
         148                 :
         149                 : /* void clear (); */
         150                 : NS_IMETHODIMP nsDOMSVGLengthList::Clear()
         151                 : {
         152                 :     return NS_ERROR_NOT_IMPLEMENTED;
         153                 : }
         154                 :
         155                 : /* nsIDOMSVGLength initialize (in nsIDOMSVGLength newItem); */
         156                 : NS_IMETHODIMP nsDOMSVGLengthList::Initialize(nsIDOMSVGLength *newItem, nsIDOMSVGLength * *_retval NS_OUTPARAM)
         157                 : {
         158                 :     return NS_ERROR_NOT_IMPLEMENTED;
         159                 : }
         160                 :
         161                 : /* nsIDOMSVGLength getItem (in unsigned long index); */
         162                 : NS_IMETHODIMP nsDOMSVGLengthList::GetItem(PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM)
         163                 : {
         164                 :     return NS_ERROR_NOT_IMPLEMENTED;
         165                 : }
         166                 :
         167                 : /* [getter,noscript,nostdcall,notxpcom] nsIDOMSVGLength getItemAt (in unsigned long index); */
         168                 : nsIDOMSVGLength * nsDOMSVGLengthList::GetItemAt(PRUint32 index)
         169                 : {
         170                 :     return NS_ERROR_NOT_IMPLEMENTED;
         171                 : }
         172                 :
         173                 : /* nsIDOMSVGLength insertItemBefore (in nsIDOMSVGLength newItem, in unsigned long index); */
         174                 : NS_IMETHODIMP nsDOMSVGLengthList::InsertItemBefore(nsIDOMSVGLength *newItem, PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM)
         175                 : {
         176                 :     return NS_ERROR_NOT_IMPLEMENTED;
         177                 : }
         178                 :
         179                 : /* nsIDOMSVGLength replaceItem (in nsIDOMSVGLength newItem, in unsigned long index); */
         180                 : NS_IMETHODIMP nsDOMSVGLengthList::ReplaceItem(nsIDOMSVGLength *newItem, PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM)
         181                 : {
         182                 :     return NS_ERROR_NOT_IMPLEMENTED;
         183                 : }
         184                 :
         185                 : /* nsIDOMSVGLength removeItem (in unsigned long index); */
         186                 : NS_IMETHODIMP nsDOMSVGLengthList::RemoveItem(PRUint32 index, nsIDOMSVGLength * *_retval NS_OUTPARAM)
         187                 : {
         188                 :     return NS_ERROR_NOT_IMPLEMENTED;
         189                 : }
         190                 :
         191                 : /* nsIDOMSVGLength appendItem (in nsIDOMSVGLength newItem); */
         192                 : NS_IMETHODIMP nsDOMSVGLengthList::AppendItem(nsIDOMSVGLength *newItem, nsIDOMSVGLength * *_retval NS_OUTPARAM)
         193                 : {
         194                 :     return NS_ERROR_NOT_IMPLEMENTED;
         195                 : }
         196                 :
         197                 : /* End of implementation class template. */
         198                 : #endif
         199                 :
         200                 :
         201                 : #endif /* __gen_nsIDOMSVGLengthList_h__ */

Generated by: LCOV version 1.7