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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMRect.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMRect_h__
       6             : #define __gen_nsIDOMRect_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:    nsIDOMRect */
      19             : #define NS_IDOMRECT_IID_STR "71735f62-ac5c-4236-9a1f-5ffb280d531c"
      20             : 
      21             : #define NS_IDOMRECT_IID \
      22             :   {0x71735f62, 0xac5c, 0x4236, \
      23             :     { 0x9a, 0x1f, 0x5f, 0xfb, 0x28, 0x0d, 0x53, 0x1c }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIDOMRect : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMRECT_IID)
      29             : 
      30             :   /* readonly attribute nsIDOMCSSPrimitiveValue top; */
      31             :   NS_IMETHOD GetTop(nsIDOMCSSPrimitiveValue * *aTop) = 0;
      32             : 
      33             :   /* readonly attribute nsIDOMCSSPrimitiveValue right; */
      34             :   NS_IMETHOD GetRight(nsIDOMCSSPrimitiveValue * *aRight) = 0;
      35             : 
      36             :   /* readonly attribute nsIDOMCSSPrimitiveValue bottom; */
      37             :   NS_IMETHOD GetBottom(nsIDOMCSSPrimitiveValue * *aBottom) = 0;
      38             : 
      39             :   /* readonly attribute nsIDOMCSSPrimitiveValue left; */
      40             :   NS_IMETHOD GetLeft(nsIDOMCSSPrimitiveValue * *aLeft) = 0;
      41             : 
      42             : };
      43             : 
      44             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMRect, NS_IDOMRECT_IID)
      45             : 
      46             : /* Use this macro when declaring classes that implement this interface. */
      47             : #define NS_DECL_NSIDOMRECT \
      48             :   NS_IMETHOD GetTop(nsIDOMCSSPrimitiveValue * *aTop) override; \
      49             :   NS_IMETHOD GetRight(nsIDOMCSSPrimitiveValue * *aRight) override; \
      50             :   NS_IMETHOD GetBottom(nsIDOMCSSPrimitiveValue * *aBottom) override; \
      51             :   NS_IMETHOD GetLeft(nsIDOMCSSPrimitiveValue * *aLeft) override; 
      52             : 
      53             : /* Use this macro when declaring the members of this interface when the
      54             :    class doesn't implement the interface. This is useful for forwarding. */
      55             : #define NS_DECL_NON_VIRTUAL_NSIDOMRECT \
      56             :   nsresult GetTop(nsIDOMCSSPrimitiveValue * *aTop); \
      57             :   nsresult GetRight(nsIDOMCSSPrimitiveValue * *aRight); \
      58             :   nsresult GetBottom(nsIDOMCSSPrimitiveValue * *aBottom); \
      59             :   nsresult GetLeft(nsIDOMCSSPrimitiveValue * *aLeft); 
      60             : 
      61             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62             : #define NS_FORWARD_NSIDOMRECT(_to) \
      63             :   NS_IMETHOD GetTop(nsIDOMCSSPrimitiveValue * *aTop) override { return _to GetTop(aTop); } \
      64             :   NS_IMETHOD GetRight(nsIDOMCSSPrimitiveValue * *aRight) override { return _to GetRight(aRight); } \
      65             :   NS_IMETHOD GetBottom(nsIDOMCSSPrimitiveValue * *aBottom) override { return _to GetBottom(aBottom); } \
      66             :   NS_IMETHOD GetLeft(nsIDOMCSSPrimitiveValue * *aLeft) override { return _to GetLeft(aLeft); } 
      67             : 
      68             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      69             : #define NS_FORWARD_SAFE_NSIDOMRECT(_to) \
      70             :   NS_IMETHOD GetTop(nsIDOMCSSPrimitiveValue * *aTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTop(aTop); } \
      71             :   NS_IMETHOD GetRight(nsIDOMCSSPrimitiveValue * *aRight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRight(aRight); } \
      72             :   NS_IMETHOD GetBottom(nsIDOMCSSPrimitiveValue * *aBottom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBottom(aBottom); } \
      73             :   NS_IMETHOD GetLeft(nsIDOMCSSPrimitiveValue * *aLeft) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLeft(aLeft); } 
      74             : 
      75             : #if 0
      76             : /* Use the code below as a template for the implementation class for this interface. */
      77             : 
      78             : /* Header file */
      79             : class nsDOMRect : public nsIDOMRect
      80             : {
      81             : public:
      82             :   NS_DECL_ISUPPORTS
      83             :   NS_DECL_NSIDOMRECT
      84             : 
      85             :   nsDOMRect();
      86             : 
      87             : private:
      88             :   ~nsDOMRect();
      89             : 
      90             : protected:
      91             :   /* additional members */
      92             : };
      93             : 
      94             : /* Implementation file */
      95             : NS_IMPL_ISUPPORTS(nsDOMRect, nsIDOMRect)
      96             : 
      97             : nsDOMRect::nsDOMRect()
      98             : {
      99             :   /* member initializers and constructor code */
     100             : }
     101             : 
     102             : nsDOMRect::~nsDOMRect()
     103             : {
     104             :   /* destructor code */
     105             : }
     106             : 
     107             : /* readonly attribute nsIDOMCSSPrimitiveValue top; */
     108             : NS_IMETHODIMP nsDOMRect::GetTop(nsIDOMCSSPrimitiveValue * *aTop)
     109             : {
     110             :     return NS_ERROR_NOT_IMPLEMENTED;
     111             : }
     112             : 
     113             : /* readonly attribute nsIDOMCSSPrimitiveValue right; */
     114             : NS_IMETHODIMP nsDOMRect::GetRight(nsIDOMCSSPrimitiveValue * *aRight)
     115             : {
     116             :     return NS_ERROR_NOT_IMPLEMENTED;
     117             : }
     118             : 
     119             : /* readonly attribute nsIDOMCSSPrimitiveValue bottom; */
     120             : NS_IMETHODIMP nsDOMRect::GetBottom(nsIDOMCSSPrimitiveValue * *aBottom)
     121             : {
     122             :     return NS_ERROR_NOT_IMPLEMENTED;
     123             : }
     124             : 
     125             : /* readonly attribute nsIDOMCSSPrimitiveValue left; */
     126             : NS_IMETHODIMP nsDOMRect::GetLeft(nsIDOMCSSPrimitiveValue * *aLeft)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : 
     131             : /* End of implementation class template. */
     132             : #endif
     133             : 
     134             : 
     135             : #endif /* __gen_nsIDOMRect_h__ */

Generated by: LCOV version 1.13