LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMHTMLCanvasElement.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/nsIDOMHTMLCanvasElement.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMHTMLCanvasElement_h__
       6             : #define __gen_nsIDOMHTMLCanvasElement_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIDOMHTMLElement_h__
      10             : #include "nsIDOMHTMLElement.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 nsIDOMBlob; /* forward declaration */
      18             : 
      19             : class nsIVariant; /* forward declaration */
      20             : 
      21             : class nsIInputStreamCallback; /* forward declaration */
      22             : 
      23             : 
      24             : /* starting interface:    nsIDOMHTMLCanvasElement */
      25             : #define NS_IDOMHTMLCANVASELEMENT_IID_STR "4e8f1316-b601-471d-8f44-3c650d91ee9b"
      26             : 
      27             : #define NS_IDOMHTMLCANVASELEMENT_IID \
      28             :   {0x4e8f1316, 0xb601, 0x471d, \
      29             :     { 0x8f, 0x44, 0x3c, 0x65, 0x0d, 0x91, 0xee, 0x9b }}
      30             : 
      31           0 : class NS_NO_VTABLE nsIDOMHTMLCanvasElement : public nsISupports {
      32             :  public:
      33             : 
      34             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLCANVASELEMENT_IID)
      35             : 
      36             :   /* attribute unsigned long width; */
      37             :   NS_IMETHOD GetWidth(uint32_t *aWidth) = 0;
      38             :   NS_IMETHOD SetWidth(uint32_t aWidth) = 0;
      39             : 
      40             :   /* attribute unsigned long height; */
      41             :   NS_IMETHOD GetHeight(uint32_t *aHeight) = 0;
      42             :   NS_IMETHOD SetHeight(uint32_t aHeight) = 0;
      43             : 
      44             :   /* attribute boolean mozOpaque; */
      45             :   NS_IMETHOD GetMozOpaque(bool *aMozOpaque) = 0;
      46             :   NS_IMETHOD SetMozOpaque(bool aMozOpaque) = 0;
      47             : 
      48             : };
      49             : 
      50             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLCanvasElement, NS_IDOMHTMLCANVASELEMENT_IID)
      51             : 
      52             : /* Use this macro when declaring classes that implement this interface. */
      53             : #define NS_DECL_NSIDOMHTMLCANVASELEMENT \
      54             :   NS_IMETHOD GetWidth(uint32_t *aWidth) override; \
      55             :   NS_IMETHOD SetWidth(uint32_t aWidth) override; \
      56             :   NS_IMETHOD GetHeight(uint32_t *aHeight) override; \
      57             :   NS_IMETHOD SetHeight(uint32_t aHeight) override; \
      58             :   NS_IMETHOD GetMozOpaque(bool *aMozOpaque) override; \
      59             :   NS_IMETHOD SetMozOpaque(bool aMozOpaque) 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_NSIDOMHTMLCANVASELEMENT \
      64             :   nsresult GetWidth(uint32_t *aWidth); \
      65             :   nsresult SetWidth(uint32_t aWidth); \
      66             :   nsresult GetHeight(uint32_t *aHeight); \
      67             :   nsresult SetHeight(uint32_t aHeight); \
      68             :   nsresult GetMozOpaque(bool *aMozOpaque); \
      69             :   nsresult SetMozOpaque(bool aMozOpaque); 
      70             : 
      71             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      72             : #define NS_FORWARD_NSIDOMHTMLCANVASELEMENT(_to) \
      73             :   NS_IMETHOD GetWidth(uint32_t *aWidth) override { return _to GetWidth(aWidth); } \
      74             :   NS_IMETHOD SetWidth(uint32_t aWidth) override { return _to SetWidth(aWidth); } \
      75             :   NS_IMETHOD GetHeight(uint32_t *aHeight) override { return _to GetHeight(aHeight); } \
      76             :   NS_IMETHOD SetHeight(uint32_t aHeight) override { return _to SetHeight(aHeight); } \
      77             :   NS_IMETHOD GetMozOpaque(bool *aMozOpaque) override { return _to GetMozOpaque(aMozOpaque); } \
      78             :   NS_IMETHOD SetMozOpaque(bool aMozOpaque) override { return _to SetMozOpaque(aMozOpaque); } 
      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_NSIDOMHTMLCANVASELEMENT(_to) \
      82             :   NS_IMETHOD GetWidth(uint32_t *aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
      83             :   NS_IMETHOD SetWidth(uint32_t aWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } \
      84             :   NS_IMETHOD GetHeight(uint32_t *aHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
      85             :   NS_IMETHOD SetHeight(uint32_t aHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \
      86             :   NS_IMETHOD GetMozOpaque(bool *aMozOpaque) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozOpaque(aMozOpaque); } \
      87             :   NS_IMETHOD SetMozOpaque(bool aMozOpaque) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMozOpaque(aMozOpaque); } 
      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 nsDOMHTMLCanvasElement : public nsIDOMHTMLCanvasElement
      94             : {
      95             : public:
      96             :   NS_DECL_ISUPPORTS
      97             :   NS_DECL_NSIDOMHTMLCANVASELEMENT
      98             : 
      99             :   nsDOMHTMLCanvasElement();
     100             : 
     101             : private:
     102             :   ~nsDOMHTMLCanvasElement();
     103             : 
     104             : protected:
     105             :   /* additional members */
     106             : };
     107             : 
     108             : /* Implementation file */
     109             : NS_IMPL_ISUPPORTS(nsDOMHTMLCanvasElement, nsIDOMHTMLCanvasElement)
     110             : 
     111             : nsDOMHTMLCanvasElement::nsDOMHTMLCanvasElement()
     112             : {
     113             :   /* member initializers and constructor code */
     114             : }
     115             : 
     116             : nsDOMHTMLCanvasElement::~nsDOMHTMLCanvasElement()
     117             : {
     118             :   /* destructor code */
     119             : }
     120             : 
     121             : /* attribute unsigned long width; */
     122             : NS_IMETHODIMP nsDOMHTMLCanvasElement::GetWidth(uint32_t *aWidth)
     123             : {
     124             :     return NS_ERROR_NOT_IMPLEMENTED;
     125             : }
     126             : NS_IMETHODIMP nsDOMHTMLCanvasElement::SetWidth(uint32_t aWidth)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : 
     131             : /* attribute unsigned long height; */
     132             : NS_IMETHODIMP nsDOMHTMLCanvasElement::GetHeight(uint32_t *aHeight)
     133             : {
     134             :     return NS_ERROR_NOT_IMPLEMENTED;
     135             : }
     136             : NS_IMETHODIMP nsDOMHTMLCanvasElement::SetHeight(uint32_t aHeight)
     137             : {
     138             :     return NS_ERROR_NOT_IMPLEMENTED;
     139             : }
     140             : 
     141             : /* attribute boolean mozOpaque; */
     142             : NS_IMETHODIMP nsDOMHTMLCanvasElement::GetMozOpaque(bool *aMozOpaque)
     143             : {
     144             :     return NS_ERROR_NOT_IMPLEMENTED;
     145             : }
     146             : NS_IMETHODIMP nsDOMHTMLCanvasElement::SetMozOpaque(bool aMozOpaque)
     147             : {
     148             :     return NS_ERROR_NOT_IMPLEMENTED;
     149             : }
     150             : 
     151             : /* End of implementation class template. */
     152             : #endif
     153             : 
     154             : 
     155             : #endif /* __gen_nsIDOMHTMLCanvasElement_h__ */

Generated by: LCOV version 1.13