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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMCSSImportRule.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMCSSImportRule_h__
       6             : #define __gen_nsIDOMCSSImportRule_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.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 nsIDOMMediaList; /* forward declaration */
      18             : 
      19             : class nsIDOMCSSStyleSheet; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsIDOMCSSImportRule */
      23             : #define NS_IDOMCSSIMPORTRULE_IID_STR "d3b2b914-01ef-4663-beda-a6475a26f491"
      24             : 
      25             : #define NS_IDOMCSSIMPORTRULE_IID \
      26             :   {0xd3b2b914, 0x01ef, 0x4663, \
      27             :     { 0xbe, 0xda, 0xa6, 0x47, 0x5a, 0x26, 0xf4, 0x91 }}
      28             : 
      29           3 : class NS_NO_VTABLE nsIDOMCSSImportRule : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSIMPORTRULE_IID)
      33             : 
      34             :   /* readonly attribute DOMString href; */
      35             :   NS_IMETHOD GetHref(nsAString & aHref) = 0;
      36             : 
      37             :   /* readonly attribute nsIDOMMediaList media; */
      38             :   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) = 0;
      39             : 
      40             :   /* readonly attribute nsIDOMCSSStyleSheet styleSheet; */
      41             :   NS_IMETHOD GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet) = 0;
      42             : 
      43             : };
      44             : 
      45             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSImportRule, NS_IDOMCSSIMPORTRULE_IID)
      46             : 
      47             : /* Use this macro when declaring classes that implement this interface. */
      48             : #define NS_DECL_NSIDOMCSSIMPORTRULE \
      49             :   NS_IMETHOD GetHref(nsAString & aHref) override; \
      50             :   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) override; \
      51             :   NS_IMETHOD GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet) 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_NSIDOMCSSIMPORTRULE \
      56             :   nsresult GetHref(nsAString & aHref); \
      57             :   nsresult GetMedia(nsIDOMMediaList * *aMedia); \
      58             :   nsresult GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet); 
      59             : 
      60             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      61             : #define NS_FORWARD_NSIDOMCSSIMPORTRULE(_to) \
      62             :   NS_IMETHOD GetHref(nsAString & aHref) override { return _to GetHref(aHref); } \
      63             :   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) override { return _to GetMedia(aMedia); } \
      64             :   NS_IMETHOD GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet) override { return _to GetStyleSheet(aStyleSheet); } 
      65             : 
      66             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      67             : #define NS_FORWARD_SAFE_NSIDOMCSSIMPORTRULE(_to) \
      68             :   NS_IMETHOD GetHref(nsAString & aHref) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHref(aHref); } \
      69             :   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMedia(aMedia); } \
      70             :   NS_IMETHOD GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyleSheet(aStyleSheet); } 
      71             : 
      72             : #if 0
      73             : /* Use the code below as a template for the implementation class for this interface. */
      74             : 
      75             : /* Header file */
      76             : class nsDOMCSSImportRule : public nsIDOMCSSImportRule
      77             : {
      78             : public:
      79             :   NS_DECL_ISUPPORTS
      80             :   NS_DECL_NSIDOMCSSIMPORTRULE
      81             : 
      82             :   nsDOMCSSImportRule();
      83             : 
      84             : private:
      85             :   ~nsDOMCSSImportRule();
      86             : 
      87             : protected:
      88             :   /* additional members */
      89             : };
      90             : 
      91             : /* Implementation file */
      92             : NS_IMPL_ISUPPORTS(nsDOMCSSImportRule, nsIDOMCSSImportRule)
      93             : 
      94             : nsDOMCSSImportRule::nsDOMCSSImportRule()
      95             : {
      96             :   /* member initializers and constructor code */
      97             : }
      98             : 
      99             : nsDOMCSSImportRule::~nsDOMCSSImportRule()
     100             : {
     101             :   /* destructor code */
     102             : }
     103             : 
     104             : /* readonly attribute DOMString href; */
     105             : NS_IMETHODIMP nsDOMCSSImportRule::GetHref(nsAString & aHref)
     106             : {
     107             :     return NS_ERROR_NOT_IMPLEMENTED;
     108             : }
     109             : 
     110             : /* readonly attribute nsIDOMMediaList media; */
     111             : NS_IMETHODIMP nsDOMCSSImportRule::GetMedia(nsIDOMMediaList * *aMedia)
     112             : {
     113             :     return NS_ERROR_NOT_IMPLEMENTED;
     114             : }
     115             : 
     116             : /* readonly attribute nsIDOMCSSStyleSheet styleSheet; */
     117             : NS_IMETHODIMP nsDOMCSSImportRule::GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet)
     118             : {
     119             :     return NS_ERROR_NOT_IMPLEMENTED;
     120             : }
     121             : 
     122             : /* End of implementation class template. */
     123             : #endif
     124             : 
     125             : 
     126             : #endif /* __gen_nsIDOMCSSImportRule_h__ */

Generated by: LCOV version 1.13