LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMLSProgressEvent.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/dom/interfaces/load-save/nsIDOMLSProgressEvent.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMLSProgressEvent_h__
       6                 : #define __gen_nsIDOMLSProgressEvent_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIDOMEvent_h__
      10                 : #include "nsIDOMEvent.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 nsIDOMLSInput; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsIDOMLSProgressEvent */
      21                 : #define NS_IDOMLSPROGRESSEVENT_IID_STR "89477959-7ce6-4f6f-9885-942e0a2c93cc"
      22                 : 
      23                 : #define NS_IDOMLSPROGRESSEVENT_IID \
      24                 :   {0x89477959, 0x7ce6, 0x4f6f, \
      25                 :     { 0x98, 0x85, 0x94, 0x2e, 0x0a, 0x2c, 0x93, 0xcc }}
      26                 : 
      27             522 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMLSProgressEvent : public nsIDOMEvent {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMLSPROGRESSEVENT_IID)
      31                 : 
      32                 :   /* readonly attribute nsIDOMLSInput input; */
      33                 :   NS_SCRIPTABLE NS_IMETHOD GetInput(nsIDOMLSInput * *aInput) = 0;
      34                 : 
      35                 :   /* readonly attribute unsigned long position; */
      36                 :   NS_SCRIPTABLE NS_IMETHOD GetPosition(PRUint32 *aPosition) = 0;
      37                 : 
      38                 :   /* readonly attribute unsigned long totalSize; */
      39                 :   NS_SCRIPTABLE NS_IMETHOD GetTotalSize(PRUint32 *aTotalSize) = 0;
      40                 : 
      41                 : };
      42                 : 
      43                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMLSProgressEvent, NS_IDOMLSPROGRESSEVENT_IID)
      44                 : 
      45                 : /* Use this macro when declaring classes that implement this interface. */
      46                 : #define NS_DECL_NSIDOMLSPROGRESSEVENT \
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetInput(nsIDOMLSInput * *aInput); \
      48                 :   NS_SCRIPTABLE NS_IMETHOD GetPosition(PRUint32 *aPosition); \
      49                 :   NS_SCRIPTABLE NS_IMETHOD GetTotalSize(PRUint32 *aTotalSize); 
      50                 : 
      51                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      52                 : #define NS_FORWARD_NSIDOMLSPROGRESSEVENT(_to) \
      53                 :   NS_SCRIPTABLE NS_IMETHOD GetInput(nsIDOMLSInput * *aInput) { return _to GetInput(aInput); } \
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetPosition(PRUint32 *aPosition) { return _to GetPosition(aPosition); } \
      55                 :   NS_SCRIPTABLE NS_IMETHOD GetTotalSize(PRUint32 *aTotalSize) { return _to GetTotalSize(aTotalSize); } 
      56                 : 
      57                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      58                 : #define NS_FORWARD_SAFE_NSIDOMLSPROGRESSEVENT(_to) \
      59                 :   NS_SCRIPTABLE NS_IMETHOD GetInput(nsIDOMLSInput * *aInput) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInput(aInput); } \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetPosition(PRUint32 *aPosition) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPosition(aPosition); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetTotalSize(PRUint32 *aTotalSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTotalSize(aTotalSize); } 
      62                 : 
      63                 : #if 0
      64                 : /* Use the code below as a template for the implementation class for this interface. */
      65                 : 
      66                 : /* Header file */
      67                 : class nsDOMLSProgressEvent : public nsIDOMLSProgressEvent
      68                 : {
      69                 : public:
      70                 :   NS_DECL_ISUPPORTS
      71                 :   NS_DECL_NSIDOMLSPROGRESSEVENT
      72                 : 
      73                 :   nsDOMLSProgressEvent();
      74                 : 
      75                 : private:
      76                 :   ~nsDOMLSProgressEvent();
      77                 : 
      78                 : protected:
      79                 :   /* additional members */
      80                 : };
      81                 : 
      82                 : /* Implementation file */
      83                 : NS_IMPL_ISUPPORTS1(nsDOMLSProgressEvent, nsIDOMLSProgressEvent)
      84                 : 
      85                 : nsDOMLSProgressEvent::nsDOMLSProgressEvent()
      86                 : {
      87                 :   /* member initializers and constructor code */
      88                 : }
      89                 : 
      90                 : nsDOMLSProgressEvent::~nsDOMLSProgressEvent()
      91                 : {
      92                 :   /* destructor code */
      93                 : }
      94                 : 
      95                 : /* readonly attribute nsIDOMLSInput input; */
      96                 : NS_IMETHODIMP nsDOMLSProgressEvent::GetInput(nsIDOMLSInput * *aInput)
      97                 : {
      98                 :     return NS_ERROR_NOT_IMPLEMENTED;
      99                 : }
     100                 : 
     101                 : /* readonly attribute unsigned long position; */
     102                 : NS_IMETHODIMP nsDOMLSProgressEvent::GetPosition(PRUint32 *aPosition)
     103                 : {
     104                 :     return NS_ERROR_NOT_IMPLEMENTED;
     105                 : }
     106                 : 
     107                 : /* readonly attribute unsigned long totalSize; */
     108                 : NS_IMETHODIMP nsDOMLSProgressEvent::GetTotalSize(PRUint32 *aTotalSize)
     109                 : {
     110                 :     return NS_ERROR_NOT_IMPLEMENTED;
     111                 : }
     112                 : 
     113                 : /* End of implementation class template. */
     114                 : #endif
     115                 : 
     116                 : 
     117                 : #endif /* __gen_nsIDOMLSProgressEvent_h__ */

Generated by: LCOV version 1.7