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

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-aurora-lnx-codecoverage/build/dom/interfaces/stylesheets/nsIDOMMediaList.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMMediaList_h__
           6                 : #define __gen_nsIDOMMediaList_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                 :
          18                 : /* starting interface:    nsIDOMMediaList */
          19                 : #define NS_IDOMMEDIALIST_IID_STR "9b0c2ed7-111c-4824-adf9-ef0da6dad371"
          20                 :
          21                 : #define NS_IDOMMEDIALIST_IID \
          22                 :   {0x9b0c2ed7, 0x111c, 0x4824, \
          23                 :     { 0xad, 0xf9, 0xef, 0x0d, 0xa6, 0xda, 0xd3, 0x71 }}
          24                 :
          25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMediaList : public nsISupports {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMEDIALIST_IID)
          29                 :
          30                 :   /* attribute DOMString mediaText; */
          31                 :   NS_SCRIPTABLE NS_IMETHOD GetMediaText(nsAString & aMediaText) = 0;
          32                 :   NS_SCRIPTABLE NS_IMETHOD SetMediaText(const nsAString & aMediaText) = 0;
          33                 :
          34                 :   /* readonly attribute unsigned long length; */
          35                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
          36                 :
          37                 :   /* DOMString item (in unsigned long index); */
          38                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsAString & _retval NS_OUTPARAM) = 0;
          39                 :
          40                 :   /* void deleteMedium (in DOMString oldMedium) raises (DOMException); */
          41                 :   NS_SCRIPTABLE NS_IMETHOD DeleteMedium(const nsAString & oldMedium) = 0;
          42                 :
          43                 :   /* void appendMedium (in DOMString newMedium) raises (DOMException); */
          44                 :   NS_SCRIPTABLE NS_IMETHOD AppendMedium(const nsAString & newMedium) = 0;
          45                 :
          46                 : };
          47                 :
          48                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMediaList, NS_IDOMMEDIALIST_IID)
          49                 :
          50                 : /* Use this macro when declaring classes that implement this interface. */
          51                 : #define NS_DECL_NSIDOMMEDIALIST \
          52                 :   NS_SCRIPTABLE NS_IMETHOD GetMediaText(nsAString & aMediaText); \
          53                 :   NS_SCRIPTABLE NS_IMETHOD SetMediaText(const nsAString & aMediaText); \
          54                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \
          55                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsAString & _retval NS_OUTPARAM); \
          56                 :   NS_SCRIPTABLE NS_IMETHOD DeleteMedium(const nsAString & oldMedium); \
          57                 :   NS_SCRIPTABLE NS_IMETHOD AppendMedium(const nsAString & newMedium);
          58                 :
          59                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          60                 : #define NS_FORWARD_NSIDOMMEDIALIST(_to) \
          61                 :   NS_SCRIPTABLE NS_IMETHOD GetMediaText(nsAString & aMediaText) { return _to GetMediaText(aMediaText); } \
          62                 :   NS_SCRIPTABLE NS_IMETHOD SetMediaText(const nsAString & aMediaText) { return _to SetMediaText(aMediaText); } \
          63                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
          64                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsAString & _retval NS_OUTPARAM) { return _to Item(index, _retval); } \
          65                 :   NS_SCRIPTABLE NS_IMETHOD DeleteMedium(const nsAString & oldMedium) { return _to DeleteMedium(oldMedium); } \
          66                 :   NS_SCRIPTABLE NS_IMETHOD AppendMedium(const nsAString & newMedium) { return _to AppendMedium(newMedium); }
          67                 :
          68                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          69                 : #define NS_FORWARD_SAFE_NSIDOMMEDIALIST(_to) \
          70                 :   NS_SCRIPTABLE NS_IMETHOD GetMediaText(nsAString & aMediaText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMediaText(aMediaText); } \
          71                 :   NS_SCRIPTABLE NS_IMETHOD SetMediaText(const nsAString & aMediaText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMediaText(aMediaText); } \
          72                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
          73                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); } \
          74                 :   NS_SCRIPTABLE NS_IMETHOD DeleteMedium(const nsAString & oldMedium) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteMedium(oldMedium); } \
          75                 :   NS_SCRIPTABLE NS_IMETHOD AppendMedium(const nsAString & newMedium) { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendMedium(newMedium); }
          76                 :
          77                 : #if 0
          78                 : /* Use the code below as a template for the implementation class for this interface. */
          79                 :
          80                 : /* Header file */
          81                 : class nsDOMMediaList : public nsIDOMMediaList
          82                 : {
          83                 : public:
          84                 :   NS_DECL_ISUPPORTS
          85                 :   NS_DECL_NSIDOMMEDIALIST
          86                 :
          87                 :   nsDOMMediaList();
          88                 :
          89                 : private:
          90                 :   ~nsDOMMediaList();
          91                 :
          92                 : protected:
          93                 :   /* additional members */
          94                 : };
          95                 :
          96                 : /* Implementation file */
          97                 : NS_IMPL_ISUPPORTS1(nsDOMMediaList, nsIDOMMediaList)
          98                 :
          99                 : nsDOMMediaList::nsDOMMediaList()
         100                 : {
         101                 :   /* member initializers and constructor code */
         102                 : }
         103                 :
         104                 : nsDOMMediaList::~nsDOMMediaList()
         105                 : {
         106                 :   /* destructor code */
         107                 : }
         108                 :
         109                 : /* attribute DOMString mediaText; */
         110                 : NS_IMETHODIMP nsDOMMediaList::GetMediaText(nsAString & aMediaText)
         111                 : {
         112                 :     return NS_ERROR_NOT_IMPLEMENTED;
         113                 : }
         114                 : NS_IMETHODIMP nsDOMMediaList::SetMediaText(const nsAString & aMediaText)
         115                 : {
         116                 :     return NS_ERROR_NOT_IMPLEMENTED;
         117                 : }
         118                 :
         119                 : /* readonly attribute unsigned long length; */
         120                 : NS_IMETHODIMP nsDOMMediaList::GetLength(PRUint32 *aLength)
         121                 : {
         122                 :     return NS_ERROR_NOT_IMPLEMENTED;
         123                 : }
         124                 :
         125                 : /* DOMString item (in unsigned long index); */
         126                 : NS_IMETHODIMP nsDOMMediaList::Item(PRUint32 index, nsAString & _retval NS_OUTPARAM)
         127                 : {
         128                 :     return NS_ERROR_NOT_IMPLEMENTED;
         129                 : }
         130                 :
         131                 : /* void deleteMedium (in DOMString oldMedium) raises (DOMException); */
         132                 : NS_IMETHODIMP nsDOMMediaList::DeleteMedium(const nsAString & oldMedium)
         133                 : {
         134                 :     return NS_ERROR_NOT_IMPLEMENTED;
         135                 : }
         136                 :
         137                 : /* void appendMedium (in DOMString newMedium) raises (DOMException); */
         138                 : NS_IMETHODIMP nsDOMMediaList::AppendMedium(const nsAString & newMedium)
         139                 : {
         140                 :     return NS_ERROR_NOT_IMPLEMENTED;
         141                 : }
         142                 :
         143                 : /* End of implementation class template. */
         144                 : #endif
         145                 :
         146                 :
         147                 : #endif /* __gen_nsIDOMMediaList_h__ */

Generated by: LCOV version 1.7