LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMCSSConditionRule.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/nsIDOMCSSConditionRule.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMCSSConditionRule_h__
       6             : #define __gen_nsIDOMCSSConditionRule_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIDOMCSSGroupingRule_h__
      10             : #include "nsIDOMCSSGroupingRule.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:    nsIDOMCSSConditionRule */
      19             : #define NS_IDOMCSSCONDITIONRULE_IID_STR "44da41b2-5660-415d-8692-eae805776103"
      20             : 
      21             : #define NS_IDOMCSSCONDITIONRULE_IID \
      22             :   {0x44da41b2, 0x5660, 0x415d, \
      23             :     { 0x86, 0x92, 0xea, 0xe8, 0x05, 0x77, 0x61, 0x03 }}
      24             : 
      25          50 : class NS_NO_VTABLE nsIDOMCSSConditionRule : public nsIDOMCSSGroupingRule {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSCONDITIONRULE_IID)
      29             : 
      30             :   /* attribute DOMString conditionText; */
      31             :   NS_IMETHOD GetConditionText(nsAString & aConditionText) = 0;
      32             :   NS_IMETHOD SetConditionText(const nsAString & aConditionText) = 0;
      33             : 
      34             : };
      35             : 
      36             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSConditionRule, NS_IDOMCSSCONDITIONRULE_IID)
      37             : 
      38             : /* Use this macro when declaring classes that implement this interface. */
      39             : #define NS_DECL_NSIDOMCSSCONDITIONRULE \
      40             :   NS_IMETHOD GetConditionText(nsAString & aConditionText) override; \
      41             :   NS_IMETHOD SetConditionText(const nsAString & aConditionText) override; 
      42             : 
      43             : /* Use this macro when declaring the members of this interface when the
      44             :    class doesn't implement the interface. This is useful for forwarding. */
      45             : #define NS_DECL_NON_VIRTUAL_NSIDOMCSSCONDITIONRULE \
      46             :   nsresult GetConditionText(nsAString & aConditionText); \
      47             :   nsresult SetConditionText(const nsAString & aConditionText); 
      48             : 
      49             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50             : #define NS_FORWARD_NSIDOMCSSCONDITIONRULE(_to) \
      51             :   NS_IMETHOD GetConditionText(nsAString & aConditionText) override { return _to GetConditionText(aConditionText); } \
      52             :   NS_IMETHOD SetConditionText(const nsAString & aConditionText) override { return _to SetConditionText(aConditionText); } 
      53             : 
      54             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      55             : #define NS_FORWARD_SAFE_NSIDOMCSSCONDITIONRULE(_to) \
      56             :   NS_IMETHOD GetConditionText(nsAString & aConditionText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetConditionText(aConditionText); } \
      57             :   NS_IMETHOD SetConditionText(const nsAString & aConditionText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetConditionText(aConditionText); } 
      58             : 
      59             : #if 0
      60             : /* Use the code below as a template for the implementation class for this interface. */
      61             : 
      62             : /* Header file */
      63             : class nsDOMCSSConditionRule : public nsIDOMCSSConditionRule
      64             : {
      65             : public:
      66             :   NS_DECL_ISUPPORTS
      67             :   NS_DECL_NSIDOMCSSCONDITIONRULE
      68             : 
      69             :   nsDOMCSSConditionRule();
      70             : 
      71             : private:
      72             :   ~nsDOMCSSConditionRule();
      73             : 
      74             : protected:
      75             :   /* additional members */
      76             : };
      77             : 
      78             : /* Implementation file */
      79             : NS_IMPL_ISUPPORTS(nsDOMCSSConditionRule, nsIDOMCSSConditionRule)
      80             : 
      81             : nsDOMCSSConditionRule::nsDOMCSSConditionRule()
      82             : {
      83             :   /* member initializers and constructor code */
      84             : }
      85             : 
      86             : nsDOMCSSConditionRule::~nsDOMCSSConditionRule()
      87             : {
      88             :   /* destructor code */
      89             : }
      90             : 
      91             : /* attribute DOMString conditionText; */
      92             : NS_IMETHODIMP nsDOMCSSConditionRule::GetConditionText(nsAString & aConditionText)
      93             : {
      94             :     return NS_ERROR_NOT_IMPLEMENTED;
      95             : }
      96             : NS_IMETHODIMP nsDOMCSSConditionRule::SetConditionText(const nsAString & aConditionText)
      97             : {
      98             :     return NS_ERROR_NOT_IMPLEMENTED;
      99             : }
     100             : 
     101             : /* End of implementation class template. */
     102             : #endif
     103             : 
     104             : 
     105             : #endif /* __gen_nsIDOMCSSConditionRule_h__ */

Generated by: LCOV version 1.13