LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMHTMLBodyElement.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/nsIDOMHTMLBodyElement.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMHTMLBodyElement_h__
       6             : #define __gen_nsIDOMHTMLBodyElement_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             : #include "jspubtd.h"
      18             : 
      19             : /* starting interface:    nsIDOMHTMLBodyElement */
      20             : #define NS_IDOMHTMLBODYELEMENT_IID_STR "068630db-2c00-43dd-b167-495757a88236"
      21             : 
      22             : #define NS_IDOMHTMLBODYELEMENT_IID \
      23             :   {0x068630db, 0x2c00, 0x43dd, \
      24             :     { 0xb1, 0x67, 0x49, 0x57, 0x57, 0xa8, 0x82, 0x36 }}
      25             : 
      26           7 : class NS_NO_VTABLE nsIDOMHTMLBodyElement : public nsISupports {
      27             :  public:
      28             : 
      29             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLBODYELEMENT_IID)
      30             : 
      31             :   /* attribute DOMString aLink; */
      32             :   NS_IMETHOD GetALink(nsAString & aALink) = 0;
      33             :   NS_IMETHOD SetALink(const nsAString & aALink) = 0;
      34             : 
      35             :   /* attribute DOMString background; */
      36             :   NS_IMETHOD GetBackground(nsAString & aBackground) = 0;
      37             :   NS_IMETHOD SetBackground(const nsAString & aBackground) = 0;
      38             : 
      39             :   /* attribute DOMString bgColor; */
      40             :   NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
      41             :   NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
      42             : 
      43             :   /* attribute DOMString link; */
      44             :   NS_IMETHOD GetLink(nsAString & aLink) = 0;
      45             :   NS_IMETHOD SetLink(const nsAString & aLink) = 0;
      46             : 
      47             :   /* attribute DOMString text; */
      48             :   NS_IMETHOD GetText(nsAString & aText) = 0;
      49             :   NS_IMETHOD SetText(const nsAString & aText) = 0;
      50             : 
      51             :   /* attribute DOMString vLink; */
      52             :   NS_IMETHOD GetVLink(nsAString & aVLink) = 0;
      53             :   NS_IMETHOD SetVLink(const nsAString & aVLink) = 0;
      54             : 
      55             : };
      56             : 
      57             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLBodyElement, NS_IDOMHTMLBODYELEMENT_IID)
      58             : 
      59             : /* Use this macro when declaring classes that implement this interface. */
      60             : #define NS_DECL_NSIDOMHTMLBODYELEMENT \
      61             :   NS_IMETHOD GetALink(nsAString & aALink) override; \
      62             :   NS_IMETHOD SetALink(const nsAString & aALink) override; \
      63             :   NS_IMETHOD GetBackground(nsAString & aBackground) override; \
      64             :   NS_IMETHOD SetBackground(const nsAString & aBackground) override; \
      65             :   NS_IMETHOD GetBgColor(nsAString & aBgColor) override; \
      66             :   NS_IMETHOD SetBgColor(const nsAString & aBgColor) override; \
      67             :   NS_IMETHOD GetLink(nsAString & aLink) override; \
      68             :   NS_IMETHOD SetLink(const nsAString & aLink) override; \
      69             :   NS_IMETHOD GetText(nsAString & aText) override; \
      70             :   NS_IMETHOD SetText(const nsAString & aText) override; \
      71             :   NS_IMETHOD GetVLink(nsAString & aVLink) override; \
      72             :   NS_IMETHOD SetVLink(const nsAString & aVLink) override; 
      73             : 
      74             : /* Use this macro when declaring the members of this interface when the
      75             :    class doesn't implement the interface. This is useful for forwarding. */
      76             : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLBODYELEMENT \
      77             :   nsresult GetALink(nsAString & aALink); \
      78             :   nsresult SetALink(const nsAString & aALink); \
      79             :   nsresult GetBackground(nsAString & aBackground); \
      80             :   nsresult SetBackground(const nsAString & aBackground); \
      81             :   nsresult GetBgColor(nsAString & aBgColor); \
      82             :   nsresult SetBgColor(const nsAString & aBgColor); \
      83             :   nsresult GetLink(nsAString & aLink); \
      84             :   nsresult SetLink(const nsAString & aLink); \
      85             :   nsresult GetText(nsAString & aText); \
      86             :   nsresult SetText(const nsAString & aText); \
      87             :   nsresult GetVLink(nsAString & aVLink); \
      88             :   nsresult SetVLink(const nsAString & aVLink); 
      89             : 
      90             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      91             : #define NS_FORWARD_NSIDOMHTMLBODYELEMENT(_to) \
      92             :   NS_IMETHOD GetALink(nsAString & aALink) override { return _to GetALink(aALink); } \
      93             :   NS_IMETHOD SetALink(const nsAString & aALink) override { return _to SetALink(aALink); } \
      94             :   NS_IMETHOD GetBackground(nsAString & aBackground) override { return _to GetBackground(aBackground); } \
      95             :   NS_IMETHOD SetBackground(const nsAString & aBackground) override { return _to SetBackground(aBackground); } \
      96             :   NS_IMETHOD GetBgColor(nsAString & aBgColor) override { return _to GetBgColor(aBgColor); } \
      97             :   NS_IMETHOD SetBgColor(const nsAString & aBgColor) override { return _to SetBgColor(aBgColor); } \
      98             :   NS_IMETHOD GetLink(nsAString & aLink) override { return _to GetLink(aLink); } \
      99             :   NS_IMETHOD SetLink(const nsAString & aLink) override { return _to SetLink(aLink); } \
     100             :   NS_IMETHOD GetText(nsAString & aText) override { return _to GetText(aText); } \
     101             :   NS_IMETHOD SetText(const nsAString & aText) override { return _to SetText(aText); } \
     102             :   NS_IMETHOD GetVLink(nsAString & aVLink) override { return _to GetVLink(aVLink); } \
     103             :   NS_IMETHOD SetVLink(const nsAString & aVLink) override { return _to SetVLink(aVLink); } 
     104             : 
     105             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     106             : #define NS_FORWARD_SAFE_NSIDOMHTMLBODYELEMENT(_to) \
     107             :   NS_IMETHOD GetALink(nsAString & aALink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetALink(aALink); } \
     108             :   NS_IMETHOD SetALink(const nsAString & aALink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetALink(aALink); } \
     109             :   NS_IMETHOD GetBackground(nsAString & aBackground) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBackground(aBackground); } \
     110             :   NS_IMETHOD SetBackground(const nsAString & aBackground) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBackground(aBackground); } \
     111             :   NS_IMETHOD GetBgColor(nsAString & aBgColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \
     112             :   NS_IMETHOD SetBgColor(const nsAString & aBgColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \
     113             :   NS_IMETHOD GetLink(nsAString & aLink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(aLink); } \
     114             :   NS_IMETHOD SetLink(const nsAString & aLink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLink(aLink); } \
     115             :   NS_IMETHOD GetText(nsAString & aText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
     116             :   NS_IMETHOD SetText(const nsAString & aText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetText(aText); } \
     117             :   NS_IMETHOD GetVLink(nsAString & aVLink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVLink(aVLink); } \
     118             :   NS_IMETHOD SetVLink(const nsAString & aVLink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVLink(aVLink); } 
     119             : 
     120             : #if 0
     121             : /* Use the code below as a template for the implementation class for this interface. */
     122             : 
     123             : /* Header file */
     124             : class nsDOMHTMLBodyElement : public nsIDOMHTMLBodyElement
     125             : {
     126             : public:
     127             :   NS_DECL_ISUPPORTS
     128             :   NS_DECL_NSIDOMHTMLBODYELEMENT
     129             : 
     130             :   nsDOMHTMLBodyElement();
     131             : 
     132             : private:
     133             :   ~nsDOMHTMLBodyElement();
     134             : 
     135             : protected:
     136             :   /* additional members */
     137             : };
     138             : 
     139             : /* Implementation file */
     140             : NS_IMPL_ISUPPORTS(nsDOMHTMLBodyElement, nsIDOMHTMLBodyElement)
     141             : 
     142             : nsDOMHTMLBodyElement::nsDOMHTMLBodyElement()
     143             : {
     144             :   /* member initializers and constructor code */
     145             : }
     146             : 
     147             : nsDOMHTMLBodyElement::~nsDOMHTMLBodyElement()
     148             : {
     149             :   /* destructor code */
     150             : }
     151             : 
     152             : /* attribute DOMString aLink; */
     153             : NS_IMETHODIMP nsDOMHTMLBodyElement::GetALink(nsAString & aALink)
     154             : {
     155             :     return NS_ERROR_NOT_IMPLEMENTED;
     156             : }
     157             : NS_IMETHODIMP nsDOMHTMLBodyElement::SetALink(const nsAString & aALink)
     158             : {
     159             :     return NS_ERROR_NOT_IMPLEMENTED;
     160             : }
     161             : 
     162             : /* attribute DOMString background; */
     163             : NS_IMETHODIMP nsDOMHTMLBodyElement::GetBackground(nsAString & aBackground)
     164             : {
     165             :     return NS_ERROR_NOT_IMPLEMENTED;
     166             : }
     167             : NS_IMETHODIMP nsDOMHTMLBodyElement::SetBackground(const nsAString & aBackground)
     168             : {
     169             :     return NS_ERROR_NOT_IMPLEMENTED;
     170             : }
     171             : 
     172             : /* attribute DOMString bgColor; */
     173             : NS_IMETHODIMP nsDOMHTMLBodyElement::GetBgColor(nsAString & aBgColor)
     174             : {
     175             :     return NS_ERROR_NOT_IMPLEMENTED;
     176             : }
     177             : NS_IMETHODIMP nsDOMHTMLBodyElement::SetBgColor(const nsAString & aBgColor)
     178             : {
     179             :     return NS_ERROR_NOT_IMPLEMENTED;
     180             : }
     181             : 
     182             : /* attribute DOMString link; */
     183             : NS_IMETHODIMP nsDOMHTMLBodyElement::GetLink(nsAString & aLink)
     184             : {
     185             :     return NS_ERROR_NOT_IMPLEMENTED;
     186             : }
     187             : NS_IMETHODIMP nsDOMHTMLBodyElement::SetLink(const nsAString & aLink)
     188             : {
     189             :     return NS_ERROR_NOT_IMPLEMENTED;
     190             : }
     191             : 
     192             : /* attribute DOMString text; */
     193             : NS_IMETHODIMP nsDOMHTMLBodyElement::GetText(nsAString & aText)
     194             : {
     195             :     return NS_ERROR_NOT_IMPLEMENTED;
     196             : }
     197             : NS_IMETHODIMP nsDOMHTMLBodyElement::SetText(const nsAString & aText)
     198             : {
     199             :     return NS_ERROR_NOT_IMPLEMENTED;
     200             : }
     201             : 
     202             : /* attribute DOMString vLink; */
     203             : NS_IMETHODIMP nsDOMHTMLBodyElement::GetVLink(nsAString & aVLink)
     204             : {
     205             :     return NS_ERROR_NOT_IMPLEMENTED;
     206             : }
     207             : NS_IMETHODIMP nsDOMHTMLBodyElement::SetVLink(const nsAString & aVLink)
     208             : {
     209             :     return NS_ERROR_NOT_IMPLEMENTED;
     210             : }
     211             : 
     212             : /* End of implementation class template. */
     213             : #endif
     214             : 
     215             : 
     216             : #endif /* __gen_nsIDOMHTMLBodyElement_h__ */

Generated by: LCOV version 1.13