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

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIDOMClientRect.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/base/nsIDOMClientRect.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMClientRect_h__
           6                 : #define __gen_nsIDOMClientRect_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:    nsIDOMClientRect */
          19                 : #define NS_IDOMCLIENTRECT_IID_STR "b2f824c4-d9d3-499b-8d3b-45c8245497c6"
          20                 :
          21                 : #define NS_IDOMCLIENTRECT_IID \
          22                 :   {0xb2f824c4, 0xd9d3, 0x499b, \
          23                 :     { 0x8d, 0x3b, 0x45, 0xc8, 0x24, 0x54, 0x97, 0xc6 }}
          24                 :
          25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMClientRect : public nsISupports {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCLIENTRECT_IID)
          29                 :
          30                 :   /* readonly attribute float left; */
          31                 :   NS_SCRIPTABLE NS_IMETHOD GetLeft(float *aLeft) = 0;
          32                 :
          33                 :   /* readonly attribute float top; */
          34                 :   NS_SCRIPTABLE NS_IMETHOD GetTop(float *aTop) = 0;
          35                 :
          36                 :   /* readonly attribute float right; */
          37                 :   NS_SCRIPTABLE NS_IMETHOD GetRight(float *aRight) = 0;
          38                 :
          39                 :   /* readonly attribute float bottom; */
          40                 :   NS_SCRIPTABLE NS_IMETHOD GetBottom(float *aBottom) = 0;
          41                 :
          42                 :   /* readonly attribute float width; */
          43                 :   NS_SCRIPTABLE NS_IMETHOD GetWidth(float *aWidth) = 0;
          44                 :
          45                 :   /* readonly attribute float height; */
          46                 :   NS_SCRIPTABLE NS_IMETHOD GetHeight(float *aHeight) = 0;
          47                 :
          48                 : };
          49                 :
          50                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMClientRect, NS_IDOMCLIENTRECT_IID)
          51                 :
          52                 : /* Use this macro when declaring classes that implement this interface. */
          53                 : #define NS_DECL_NSIDOMCLIENTRECT \
          54                 :   NS_SCRIPTABLE NS_IMETHOD GetLeft(float *aLeft); \
          55                 :   NS_SCRIPTABLE NS_IMETHOD GetTop(float *aTop); \
          56                 :   NS_SCRIPTABLE NS_IMETHOD GetRight(float *aRight); \
          57                 :   NS_SCRIPTABLE NS_IMETHOD GetBottom(float *aBottom); \
          58                 :   NS_SCRIPTABLE NS_IMETHOD GetWidth(float *aWidth); \
          59                 :   NS_SCRIPTABLE NS_IMETHOD GetHeight(float *aHeight);
          60                 :
          61                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          62                 : #define NS_FORWARD_NSIDOMCLIENTRECT(_to) \
          63                 :   NS_SCRIPTABLE NS_IMETHOD GetLeft(float *aLeft) { return _to GetLeft(aLeft); } \
          64                 :   NS_SCRIPTABLE NS_IMETHOD GetTop(float *aTop) { return _to GetTop(aTop); } \
          65                 :   NS_SCRIPTABLE NS_IMETHOD GetRight(float *aRight) { return _to GetRight(aRight); } \
          66                 :   NS_SCRIPTABLE NS_IMETHOD GetBottom(float *aBottom) { return _to GetBottom(aBottom); } \
          67                 :   NS_SCRIPTABLE NS_IMETHOD GetWidth(float *aWidth) { return _to GetWidth(aWidth); } \
          68                 :   NS_SCRIPTABLE NS_IMETHOD GetHeight(float *aHeight) { return _to GetHeight(aHeight); }
          69                 :
          70                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          71                 : #define NS_FORWARD_SAFE_NSIDOMCLIENTRECT(_to) \
          72                 :   NS_SCRIPTABLE NS_IMETHOD GetLeft(float *aLeft) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLeft(aLeft); } \
          73                 :   NS_SCRIPTABLE NS_IMETHOD GetTop(float *aTop) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTop(aTop); } \
          74                 :   NS_SCRIPTABLE NS_IMETHOD GetRight(float *aRight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRight(aRight); } \
          75                 :   NS_SCRIPTABLE NS_IMETHOD GetBottom(float *aBottom) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBottom(aBottom); } \
          76                 :   NS_SCRIPTABLE NS_IMETHOD GetWidth(float *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
          77                 :   NS_SCRIPTABLE NS_IMETHOD GetHeight(float *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); }
          78                 :
          79                 : #if 0
          80                 : /* Use the code below as a template for the implementation class for this interface. */
          81                 :
          82                 : /* Header file */
          83                 : class nsDOMClientRect : public nsIDOMClientRect
          84                 : {
          85                 : public:
          86                 :   NS_DECL_ISUPPORTS
          87                 :   NS_DECL_NSIDOMCLIENTRECT
          88                 :
          89                 :   nsDOMClientRect();
          90                 :
          91                 : private:
          92                 :   ~nsDOMClientRect();
          93                 :
          94                 : protected:
          95                 :   /* additional members */
          96                 : };
          97                 :
          98                 : /* Implementation file */
          99                 : NS_IMPL_ISUPPORTS1(nsDOMClientRect, nsIDOMClientRect)
         100                 :
         101                 : nsDOMClientRect::nsDOMClientRect()
         102                 : {
         103                 :   /* member initializers and constructor code */
         104                 : }
         105                 :
         106                 : nsDOMClientRect::~nsDOMClientRect()
         107                 : {
         108                 :   /* destructor code */
         109                 : }
         110                 :
         111                 : /* readonly attribute float left; */
         112                 : NS_IMETHODIMP nsDOMClientRect::GetLeft(float *aLeft)
         113                 : {
         114                 :     return NS_ERROR_NOT_IMPLEMENTED;
         115                 : }
         116                 :
         117                 : /* readonly attribute float top; */
         118                 : NS_IMETHODIMP nsDOMClientRect::GetTop(float *aTop)
         119                 : {
         120                 :     return NS_ERROR_NOT_IMPLEMENTED;
         121                 : }
         122                 :
         123                 : /* readonly attribute float right; */
         124                 : NS_IMETHODIMP nsDOMClientRect::GetRight(float *aRight)
         125                 : {
         126                 :     return NS_ERROR_NOT_IMPLEMENTED;
         127                 : }
         128                 :
         129                 : /* readonly attribute float bottom; */
         130                 : NS_IMETHODIMP nsDOMClientRect::GetBottom(float *aBottom)
         131                 : {
         132                 :     return NS_ERROR_NOT_IMPLEMENTED;
         133                 : }
         134                 :
         135                 : /* readonly attribute float width; */
         136                 : NS_IMETHODIMP nsDOMClientRect::GetWidth(float *aWidth)
         137                 : {
         138                 :     return NS_ERROR_NOT_IMPLEMENTED;
         139                 : }
         140                 :
         141                 : /* readonly attribute float height; */
         142                 : NS_IMETHODIMP nsDOMClientRect::GetHeight(float *aHeight)
         143                 : {
         144                 :     return NS_ERROR_NOT_IMPLEMENTED;
         145                 : }
         146                 :
         147                 : /* End of implementation class template. */
         148                 : #endif
         149                 :
         150                 :
         151                 : #endif /* __gen_nsIDOMClientRect_h__ */

Generated by: LCOV version 1.7