LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMClientRect.h (source / functions) Hit Total Coverage
Test: output.info Lines: 1 1 100.0 %
Date: 2017-07-14 16:53:18 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/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           8 : class NS_NO_VTABLE nsIDOMClientRect : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCLIENTRECT_IID)
      29             : 
      30             :   /* readonly attribute float left; */
      31             :   NS_IMETHOD GetLeft(float *aLeft) = 0;
      32             : 
      33             :   /* readonly attribute float top; */
      34             :   NS_IMETHOD GetTop(float *aTop) = 0;
      35             : 
      36             :   /* readonly attribute float right; */
      37             :   NS_IMETHOD GetRight(float *aRight) = 0;
      38             : 
      39             :   /* readonly attribute float bottom; */
      40             :   NS_IMETHOD GetBottom(float *aBottom) = 0;
      41             : 
      42             :   /* readonly attribute float width; */
      43             :   NS_IMETHOD GetWidth(float *aWidth) = 0;
      44             : 
      45             :   /* readonly attribute float height; */
      46             :   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_IMETHOD GetLeft(float *aLeft) override; \
      55             :   NS_IMETHOD GetTop(float *aTop) override; \
      56             :   NS_IMETHOD GetRight(float *aRight) override; \
      57             :   NS_IMETHOD GetBottom(float *aBottom) override; \
      58             :   NS_IMETHOD GetWidth(float *aWidth) override; \
      59             :   NS_IMETHOD GetHeight(float *aHeight) override; 
      60             : 
      61             : /* Use this macro when declaring the members of this interface when the
      62             :    class doesn't implement the interface. This is useful for forwarding. */
      63             : #define NS_DECL_NON_VIRTUAL_NSIDOMCLIENTRECT \
      64             :   nsresult GetLeft(float *aLeft); \
      65             :   nsresult GetTop(float *aTop); \
      66             :   nsresult GetRight(float *aRight); \
      67             :   nsresult GetBottom(float *aBottom); \
      68             :   nsresult GetWidth(float *aWidth); \
      69             :   nsresult GetHeight(float *aHeight); 
      70             : 
      71             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      72             : #define NS_FORWARD_NSIDOMCLIENTRECT(_to) \
      73             :   NS_IMETHOD GetLeft(float *aLeft) override { return _to GetLeft(aLeft); } \
      74             :   NS_IMETHOD GetTop(float *aTop) override { return _to GetTop(aTop); } \
      75             :   NS_IMETHOD GetRight(float *aRight) override { return _to GetRight(aRight); } \
      76             :   NS_IMETHOD GetBottom(float *aBottom) override { return _to GetBottom(aBottom); } \
      77             :   NS_IMETHOD GetWidth(float *aWidth) override { return _to GetWidth(aWidth); } \
      78             :   NS_IMETHOD GetHeight(float *aHeight) override { return _to GetHeight(aHeight); } 
      79             : 
      80             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      81             : #define NS_FORWARD_SAFE_NSIDOMCLIENTRECT(_to) \
      82             :   NS_IMETHOD GetLeft(float *aLeft) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLeft(aLeft); } \
      83             :   NS_IMETHOD GetTop(float *aTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTop(aTop); } \
      84             :   NS_IMETHOD GetRight(float *aRight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRight(aRight); } \
      85             :   NS_IMETHOD GetBottom(float *aBottom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBottom(aBottom); } \
      86             :   NS_IMETHOD GetWidth(float *aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
      87             :   NS_IMETHOD GetHeight(float *aHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } 
      88             : 
      89             : #if 0
      90             : /* Use the code below as a template for the implementation class for this interface. */
      91             : 
      92             : /* Header file */
      93             : class nsDOMClientRect : public nsIDOMClientRect
      94             : {
      95             : public:
      96             :   NS_DECL_ISUPPORTS
      97             :   NS_DECL_NSIDOMCLIENTRECT
      98             : 
      99             :   nsDOMClientRect();
     100             : 
     101             : private:
     102             :   ~nsDOMClientRect();
     103             : 
     104             : protected:
     105             :   /* additional members */
     106             : };
     107             : 
     108             : /* Implementation file */
     109             : NS_IMPL_ISUPPORTS(nsDOMClientRect, nsIDOMClientRect)
     110             : 
     111             : nsDOMClientRect::nsDOMClientRect()
     112             : {
     113             :   /* member initializers and constructor code */
     114             : }
     115             : 
     116             : nsDOMClientRect::~nsDOMClientRect()
     117             : {
     118             :   /* destructor code */
     119             : }
     120             : 
     121             : /* readonly attribute float left; */
     122             : NS_IMETHODIMP nsDOMClientRect::GetLeft(float *aLeft)
     123             : {
     124             :     return NS_ERROR_NOT_IMPLEMENTED;
     125             : }
     126             : 
     127             : /* readonly attribute float top; */
     128             : NS_IMETHODIMP nsDOMClientRect::GetTop(float *aTop)
     129             : {
     130             :     return NS_ERROR_NOT_IMPLEMENTED;
     131             : }
     132             : 
     133             : /* readonly attribute float right; */
     134             : NS_IMETHODIMP nsDOMClientRect::GetRight(float *aRight)
     135             : {
     136             :     return NS_ERROR_NOT_IMPLEMENTED;
     137             : }
     138             : 
     139             : /* readonly attribute float bottom; */
     140             : NS_IMETHODIMP nsDOMClientRect::GetBottom(float *aBottom)
     141             : {
     142             :     return NS_ERROR_NOT_IMPLEMENTED;
     143             : }
     144             : 
     145             : /* readonly attribute float width; */
     146             : NS_IMETHODIMP nsDOMClientRect::GetWidth(float *aWidth)
     147             : {
     148             :     return NS_ERROR_NOT_IMPLEMENTED;
     149             : }
     150             : 
     151             : /* readonly attribute float height; */
     152             : NS_IMETHODIMP nsDOMClientRect::GetHeight(float *aHeight)
     153             : {
     154             :     return NS_ERROR_NOT_IMPLEMENTED;
     155             : }
     156             : 
     157             : /* End of implementation class template. */
     158             : #endif
     159             : 
     160             : 
     161             : #endif /* __gen_nsIDOMClientRect_h__ */

Generated by: LCOV version 1.13