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

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/dom/interfaces/events/nsIDOMProgressEvent.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMProgressEvent_h__
           6                 : #define __gen_nsIDOMProgressEvent_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                 :
          18                 : /* starting interface:    nsIDOMProgressEvent */
          19                 : #define NS_IDOMPROGRESSEVENT_IID_STR "2377d8a6-9e27-4eb2-a377-9910772b33d3"
          20                 :
          21                 : #define NS_IDOMPROGRESSEVENT_IID \
          22                 :   {0x2377d8a6, 0x9e27, 0x4eb2, \
          23                 :     { 0xa3, 0x77, 0x99, 0x10, 0x77, 0x2b, 0x33, 0xd3 }}
          24                 :
          25            2785 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMProgressEvent : public nsIDOMEvent {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMPROGRESSEVENT_IID)
          29                 :
          30                 :   /* readonly attribute boolean lengthComputable; */
          31                 :   NS_SCRIPTABLE NS_IMETHOD GetLengthComputable(bool *aLengthComputable) = 0;
          32                 :
          33                 :   /* readonly attribute unsigned long long loaded; */
          34                 :   NS_SCRIPTABLE NS_IMETHOD GetLoaded(PRUint64 *aLoaded) = 0;
          35                 :
          36                 :   /* readonly attribute unsigned long long total; */
          37                 :   NS_SCRIPTABLE NS_IMETHOD GetTotal(PRUint64 *aTotal) = 0;
          38                 :
          39                 :   /* void initProgressEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in boolean lengthComputableArg, in unsigned long long loadedArg, in unsigned long long totalArg); */
          40                 :   NS_SCRIPTABLE NS_IMETHOD InitProgressEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, bool lengthComputableArg, PRUint64 loadedArg, PRUint64 totalArg) = 0;
          41                 :
          42                 : };
          43                 :
          44                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMProgressEvent, NS_IDOMPROGRESSEVENT_IID)
          45                 :
          46                 : /* Use this macro when declaring classes that implement this interface. */
          47                 : #define NS_DECL_NSIDOMPROGRESSEVENT \
          48                 :   NS_SCRIPTABLE NS_IMETHOD GetLengthComputable(bool *aLengthComputable); \
          49                 :   NS_SCRIPTABLE NS_IMETHOD GetLoaded(PRUint64 *aLoaded); \
          50                 :   NS_SCRIPTABLE NS_IMETHOD GetTotal(PRUint64 *aTotal); \
          51                 :   NS_SCRIPTABLE NS_IMETHOD InitProgressEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, bool lengthComputableArg, PRUint64 loadedArg, PRUint64 totalArg);
          52                 :
          53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          54                 : #define NS_FORWARD_NSIDOMPROGRESSEVENT(_to) \
          55                 :   NS_SCRIPTABLE NS_IMETHOD GetLengthComputable(bool *aLengthComputable) { return _to GetLengthComputable(aLengthComputable); } \
          56                 :   NS_SCRIPTABLE NS_IMETHOD GetLoaded(PRUint64 *aLoaded) { return _to GetLoaded(aLoaded); } \
          57                 :   NS_SCRIPTABLE NS_IMETHOD GetTotal(PRUint64 *aTotal) { return _to GetTotal(aTotal); } \
          58                 :   NS_SCRIPTABLE NS_IMETHOD InitProgressEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, bool lengthComputableArg, PRUint64 loadedArg, PRUint64 totalArg) { return _to InitProgressEvent(typeArg, canBubbleArg, cancelableArg, lengthComputableArg, loadedArg, totalArg); }
          59                 :
          60                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          61                 : #define NS_FORWARD_SAFE_NSIDOMPROGRESSEVENT(_to) \
          62                 :   NS_SCRIPTABLE NS_IMETHOD GetLengthComputable(bool *aLengthComputable) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLengthComputable(aLengthComputable); } \
          63                 :   NS_SCRIPTABLE NS_IMETHOD GetLoaded(PRUint64 *aLoaded) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoaded(aLoaded); } \
          64                 :   NS_SCRIPTABLE NS_IMETHOD GetTotal(PRUint64 *aTotal) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTotal(aTotal); } \
          65                 :   NS_SCRIPTABLE NS_IMETHOD InitProgressEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, bool lengthComputableArg, PRUint64 loadedArg, PRUint64 totalArg) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitProgressEvent(typeArg, canBubbleArg, cancelableArg, lengthComputableArg, loadedArg, totalArg); }
          66                 :
          67                 : #if 0
          68                 : /* Use the code below as a template for the implementation class for this interface. */
          69                 :
          70                 : /* Header file */
          71                 : class nsDOMProgressEvent : public nsIDOMProgressEvent
          72                 : {
          73                 : public:
          74                 :   NS_DECL_ISUPPORTS
          75                 :   NS_DECL_NSIDOMPROGRESSEVENT
          76                 :
          77                 :   nsDOMProgressEvent();
          78                 :
          79                 : private:
          80                 :   ~nsDOMProgressEvent();
          81                 :
          82                 : protected:
          83                 :   /* additional members */
          84                 : };
          85                 :
          86                 : /* Implementation file */
          87                 : NS_IMPL_ISUPPORTS1(nsDOMProgressEvent, nsIDOMProgressEvent)
          88                 :
          89                 : nsDOMProgressEvent::nsDOMProgressEvent()
          90                 : {
          91                 :   /* member initializers and constructor code */
          92                 : }
          93                 :
          94                 : nsDOMProgressEvent::~nsDOMProgressEvent()
          95                 : {
          96                 :   /* destructor code */
          97                 : }
          98                 :
          99                 : /* readonly attribute boolean lengthComputable; */
         100                 : NS_IMETHODIMP nsDOMProgressEvent::GetLengthComputable(bool *aLengthComputable)
         101                 : {
         102                 :     return NS_ERROR_NOT_IMPLEMENTED;
         103                 : }
         104                 :
         105                 : /* readonly attribute unsigned long long loaded; */
         106                 : NS_IMETHODIMP nsDOMProgressEvent::GetLoaded(PRUint64 *aLoaded)
         107                 : {
         108                 :     return NS_ERROR_NOT_IMPLEMENTED;
         109                 : }
         110                 :
         111                 : /* readonly attribute unsigned long long total; */
         112                 : NS_IMETHODIMP nsDOMProgressEvent::GetTotal(PRUint64 *aTotal)
         113                 : {
         114                 :     return NS_ERROR_NOT_IMPLEMENTED;
         115                 : }
         116                 :
         117                 : /* void initProgressEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in boolean lengthComputableArg, in unsigned long long loadedArg, in unsigned long long totalArg); */
         118                 : NS_IMETHODIMP nsDOMProgressEvent::InitProgressEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, bool lengthComputableArg, PRUint64 loadedArg, PRUint64 totalArg)
         119                 : {
         120                 :     return NS_ERROR_NOT_IMPLEMENTED;
         121                 : }
         122                 :
         123                 : /* End of implementation class template. */
         124                 : #endif
         125                 :
         126                 :
         127                 : #endif /* __gen_nsIDOMProgressEvent_h__ */

Generated by: LCOV version 1.7