LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMStyleSheet.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/nsIDOMStyleSheet.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMStyleSheet_h__
       6             : #define __gen_nsIDOMStyleSheet_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:    nsIDOMStyleSheet */
      19             : #define NS_IDOMSTYLESHEET_IID_STR "a6cf9080-15b3-11d2-932e-00805f8add32"
      20             : 
      21             : #define NS_IDOMSTYLESHEET_IID \
      22             :   {0xa6cf9080, 0x15b3, 0x11d2, \
      23             :     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
      24             : 
      25          75 : class NS_NO_VTABLE nsIDOMStyleSheet : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSTYLESHEET_IID)
      29             : 
      30             :   /* readonly attribute DOMString type; */
      31             :   NS_IMETHOD GetType(nsAString & aType) = 0;
      32             : 
      33             :   /* attribute boolean disabled; */
      34             :   NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
      35             :   NS_IMETHOD SetDisabled(bool aDisabled) = 0;
      36             : 
      37             :   /* readonly attribute nsIDOMNode ownerNode; */
      38             :   NS_IMETHOD GetOwnerNode(nsIDOMNode * *aOwnerNode) = 0;
      39             : 
      40             :   /* readonly attribute nsIDOMStyleSheet parentStyleSheet; */
      41             :   NS_IMETHOD GetParentStyleSheet(nsIDOMStyleSheet * *aParentStyleSheet) = 0;
      42             : 
      43             :   /* readonly attribute DOMString href; */
      44             :   NS_IMETHOD GetHref(nsAString & aHref) = 0;
      45             : 
      46             :   /* readonly attribute DOMString title; */
      47             :   NS_IMETHOD GetTitle(nsAString & aTitle) = 0;
      48             : 
      49             :   /* readonly attribute nsIDOMMediaList media; */
      50             :   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) = 0;
      51             : 
      52             : };
      53             : 
      54             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMStyleSheet, NS_IDOMSTYLESHEET_IID)
      55             : 
      56             : /* Use this macro when declaring classes that implement this interface. */
      57             : #define NS_DECL_NSIDOMSTYLESHEET \
      58             :   NS_IMETHOD GetType(nsAString & aType) override; \
      59             :   NS_IMETHOD GetDisabled(bool *aDisabled) override; \
      60             :   NS_IMETHOD SetDisabled(bool aDisabled) override; \
      61             :   NS_IMETHOD GetOwnerNode(nsIDOMNode * *aOwnerNode) override; \
      62             :   NS_IMETHOD GetParentStyleSheet(nsIDOMStyleSheet * *aParentStyleSheet) override; \
      63             :   NS_IMETHOD GetHref(nsAString & aHref) override; \
      64             :   NS_IMETHOD GetTitle(nsAString & aTitle) override; \
      65             :   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) override; 
      66             : 
      67             : /* Use this macro when declaring the members of this interface when the
      68             :    class doesn't implement the interface. This is useful for forwarding. */
      69             : #define NS_DECL_NON_VIRTUAL_NSIDOMSTYLESHEET \
      70             :   nsresult GetType(nsAString & aType); \
      71             :   nsresult GetDisabled(bool *aDisabled); \
      72             :   nsresult SetDisabled(bool aDisabled); \
      73             :   nsresult GetOwnerNode(nsIDOMNode * *aOwnerNode); \
      74             :   nsresult GetParentStyleSheet(nsIDOMStyleSheet * *aParentStyleSheet); \
      75             :   nsresult GetHref(nsAString & aHref); \
      76             :   nsresult GetTitle(nsAString & aTitle); \
      77             :   nsresult GetMedia(nsIDOMMediaList * *aMedia); 
      78             : 
      79             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      80             : #define NS_FORWARD_NSIDOMSTYLESHEET(_to) \
      81             :   NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
      82             :   NS_IMETHOD GetDisabled(bool *aDisabled) override { return _to GetDisabled(aDisabled); } \
      83             :   NS_IMETHOD SetDisabled(bool aDisabled) override { return _to SetDisabled(aDisabled); } \
      84             :   NS_IMETHOD GetOwnerNode(nsIDOMNode * *aOwnerNode) override { return _to GetOwnerNode(aOwnerNode); } \
      85             :   NS_IMETHOD GetParentStyleSheet(nsIDOMStyleSheet * *aParentStyleSheet) override { return _to GetParentStyleSheet(aParentStyleSheet); } \
      86             :   NS_IMETHOD GetHref(nsAString & aHref) override { return _to GetHref(aHref); } \
      87             :   NS_IMETHOD GetTitle(nsAString & aTitle) override { return _to GetTitle(aTitle); } \
      88             :   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) override { return _to GetMedia(aMedia); } 
      89             : 
      90             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      91             : #define NS_FORWARD_SAFE_NSIDOMSTYLESHEET(_to) \
      92             :   NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
      93             :   NS_IMETHOD GetDisabled(bool *aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
      94             :   NS_IMETHOD SetDisabled(bool aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
      95             :   NS_IMETHOD GetOwnerNode(nsIDOMNode * *aOwnerNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOwnerNode(aOwnerNode); } \
      96             :   NS_IMETHOD GetParentStyleSheet(nsIDOMStyleSheet * *aParentStyleSheet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentStyleSheet(aParentStyleSheet); } \
      97             :   NS_IMETHOD GetHref(nsAString & aHref) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHref(aHref); } \
      98             :   NS_IMETHOD GetTitle(nsAString & aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
      99             :   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMedia(aMedia); } 
     100             : 
     101             : #if 0
     102             : /* Use the code below as a template for the implementation class for this interface. */
     103             : 
     104             : /* Header file */
     105             : class nsDOMStyleSheet : public nsIDOMStyleSheet
     106             : {
     107             : public:
     108             :   NS_DECL_ISUPPORTS
     109             :   NS_DECL_NSIDOMSTYLESHEET
     110             : 
     111             :   nsDOMStyleSheet();
     112             : 
     113             : private:
     114             :   ~nsDOMStyleSheet();
     115             : 
     116             : protected:
     117             :   /* additional members */
     118             : };
     119             : 
     120             : /* Implementation file */
     121             : NS_IMPL_ISUPPORTS(nsDOMStyleSheet, nsIDOMStyleSheet)
     122             : 
     123             : nsDOMStyleSheet::nsDOMStyleSheet()
     124             : {
     125             :   /* member initializers and constructor code */
     126             : }
     127             : 
     128             : nsDOMStyleSheet::~nsDOMStyleSheet()
     129             : {
     130             :   /* destructor code */
     131             : }
     132             : 
     133             : /* readonly attribute DOMString type; */
     134             : NS_IMETHODIMP nsDOMStyleSheet::GetType(nsAString & aType)
     135             : {
     136             :     return NS_ERROR_NOT_IMPLEMENTED;
     137             : }
     138             : 
     139             : /* attribute boolean disabled; */
     140             : NS_IMETHODIMP nsDOMStyleSheet::GetDisabled(bool *aDisabled)
     141             : {
     142             :     return NS_ERROR_NOT_IMPLEMENTED;
     143             : }
     144             : NS_IMETHODIMP nsDOMStyleSheet::SetDisabled(bool aDisabled)
     145             : {
     146             :     return NS_ERROR_NOT_IMPLEMENTED;
     147             : }
     148             : 
     149             : /* readonly attribute nsIDOMNode ownerNode; */
     150             : NS_IMETHODIMP nsDOMStyleSheet::GetOwnerNode(nsIDOMNode * *aOwnerNode)
     151             : {
     152             :     return NS_ERROR_NOT_IMPLEMENTED;
     153             : }
     154             : 
     155             : /* readonly attribute nsIDOMStyleSheet parentStyleSheet; */
     156             : NS_IMETHODIMP nsDOMStyleSheet::GetParentStyleSheet(nsIDOMStyleSheet * *aParentStyleSheet)
     157             : {
     158             :     return NS_ERROR_NOT_IMPLEMENTED;
     159             : }
     160             : 
     161             : /* readonly attribute DOMString href; */
     162             : NS_IMETHODIMP nsDOMStyleSheet::GetHref(nsAString & aHref)
     163             : {
     164             :     return NS_ERROR_NOT_IMPLEMENTED;
     165             : }
     166             : 
     167             : /* readonly attribute DOMString title; */
     168             : NS_IMETHODIMP nsDOMStyleSheet::GetTitle(nsAString & aTitle)
     169             : {
     170             :     return NS_ERROR_NOT_IMPLEMENTED;
     171             : }
     172             : 
     173             : /* readonly attribute nsIDOMMediaList media; */
     174             : NS_IMETHODIMP nsDOMStyleSheet::GetMedia(nsIDOMMediaList * *aMedia)
     175             : {
     176             :     return NS_ERROR_NOT_IMPLEMENTED;
     177             : }
     178             : 
     179             : /* End of implementation class template. */
     180             : #endif
     181             : 
     182             : 
     183             : #endif /* __gen_nsIDOMStyleSheet_h__ */

Generated by: LCOV version 1.13