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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMTimeRanges.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMTimeRanges_h__
       6                 : #define __gen_nsIDOMTimeRanges_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:    nsIDOMTimeRanges */
      19                 : #define NS_IDOMTIMERANGES_IID_STR "c43448db-0bab-461d-b648-1ca14a967f7e"
      20                 : 
      21                 : #define NS_IDOMTIMERANGES_IID \
      22                 :   {0xc43448db, 0x0bab, 0x461d, \
      23                 :     { 0xb6, 0x48, 0x1c, 0xa1, 0x4a, 0x96, 0x7f, 0x7e }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMTimeRanges : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMTIMERANGES_IID)
      29                 : 
      30                 :   /* readonly attribute unsigned long length; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
      32                 : 
      33                 :   /* double start (in unsigned long index); */
      34                 :   NS_SCRIPTABLE NS_IMETHOD Start(PRUint32 index, double *_retval NS_OUTPARAM) = 0;
      35                 : 
      36                 :   /* double end (in unsigned long index); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD End(PRUint32 index, double *_retval NS_OUTPARAM) = 0;
      38                 : 
      39                 : };
      40                 : 
      41                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMTimeRanges, NS_IDOMTIMERANGES_IID)
      42                 : 
      43                 : /* Use this macro when declaring classes that implement this interface. */
      44                 : #define NS_DECL_NSIDOMTIMERANGES \
      45                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \
      46                 :   NS_SCRIPTABLE NS_IMETHOD Start(PRUint32 index, double *_retval NS_OUTPARAM); \
      47                 :   NS_SCRIPTABLE NS_IMETHOD End(PRUint32 index, double *_retval NS_OUTPARAM); 
      48                 : 
      49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50                 : #define NS_FORWARD_NSIDOMTIMERANGES(_to) \
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
      52                 :   NS_SCRIPTABLE NS_IMETHOD Start(PRUint32 index, double *_retval NS_OUTPARAM) { return _to Start(index, _retval); } \
      53                 :   NS_SCRIPTABLE NS_IMETHOD End(PRUint32 index, double *_retval NS_OUTPARAM) { return _to End(index, _retval); } 
      54                 : 
      55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      56                 : #define NS_FORWARD_SAFE_NSIDOMTIMERANGES(_to) \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD Start(PRUint32 index, double *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Start(index, _retval); } \
      59                 :   NS_SCRIPTABLE NS_IMETHOD End(PRUint32 index, double *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->End(index, _retval); } 
      60                 : 
      61                 : #if 0
      62                 : /* Use the code below as a template for the implementation class for this interface. */
      63                 : 
      64                 : /* Header file */
      65                 : class nsDOMTimeRanges : public nsIDOMTimeRanges
      66                 : {
      67                 : public:
      68                 :   NS_DECL_ISUPPORTS
      69                 :   NS_DECL_NSIDOMTIMERANGES
      70                 : 
      71                 :   nsDOMTimeRanges();
      72                 : 
      73                 : private:
      74                 :   ~nsDOMTimeRanges();
      75                 : 
      76                 : protected:
      77                 :   /* additional members */
      78                 : };
      79                 : 
      80                 : /* Implementation file */
      81                 : NS_IMPL_ISUPPORTS1(nsDOMTimeRanges, nsIDOMTimeRanges)
      82                 : 
      83                 : nsDOMTimeRanges::nsDOMTimeRanges()
      84                 : {
      85                 :   /* member initializers and constructor code */
      86                 : }
      87                 : 
      88                 : nsDOMTimeRanges::~nsDOMTimeRanges()
      89                 : {
      90                 :   /* destructor code */
      91                 : }
      92                 : 
      93                 : /* readonly attribute unsigned long length; */
      94                 : NS_IMETHODIMP nsDOMTimeRanges::GetLength(PRUint32 *aLength)
      95                 : {
      96                 :     return NS_ERROR_NOT_IMPLEMENTED;
      97                 : }
      98                 : 
      99                 : /* double start (in unsigned long index); */
     100                 : NS_IMETHODIMP nsDOMTimeRanges::Start(PRUint32 index, double *_retval NS_OUTPARAM)
     101                 : {
     102                 :     return NS_ERROR_NOT_IMPLEMENTED;
     103                 : }
     104                 : 
     105                 : /* double end (in unsigned long index); */
     106                 : NS_IMETHODIMP nsDOMTimeRanges::End(PRUint32 index, double *_retval NS_OUTPARAM)
     107                 : {
     108                 :     return NS_ERROR_NOT_IMPLEMENTED;
     109                 : }
     110                 : 
     111                 : /* End of implementation class template. */
     112                 : #endif
     113                 : 
     114                 : 
     115                 : #endif /* __gen_nsIDOMTimeRanges_h__ */

Generated by: LCOV version 1.7