LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMCSSKeyframeRule.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/nsIDOMCSSKeyframeRule.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMCSSKeyframeRule_h__
       6             : #define __gen_nsIDOMCSSKeyframeRule_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 nsIDOMCSSStyleDeclaration; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsIDOMCSSKeyframeRule */
      21             : #define NS_IDOMCSSKEYFRAMERULE_IID_STR "a281a8b4-eaa2-49a8-8b97-acc2814a57c9"
      22             : 
      23             : #define NS_IDOMCSSKEYFRAMERULE_IID \
      24             :   {0xa281a8b4, 0xeaa2, 0x49a8, \
      25             :     { 0x8b, 0x97, 0xac, 0xc2, 0x81, 0x4a, 0x57, 0xc9 }}
      26             : 
      27          78 : class NS_NO_VTABLE nsIDOMCSSKeyframeRule : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSKEYFRAMERULE_IID)
      31             : 
      32             :   /* attribute DOMString keyText; */
      33             :   NS_IMETHOD GetKeyText(nsAString & aKeyText) = 0;
      34             :   NS_IMETHOD SetKeyText(const nsAString & aKeyText) = 0;
      35             : 
      36             :   /* readonly attribute nsIDOMCSSStyleDeclaration style; */
      37             :   NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) = 0;
      38             : 
      39             : };
      40             : 
      41             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSKeyframeRule, NS_IDOMCSSKEYFRAMERULE_IID)
      42             : 
      43             : /* Use this macro when declaring classes that implement this interface. */
      44             : #define NS_DECL_NSIDOMCSSKEYFRAMERULE \
      45             :   NS_IMETHOD GetKeyText(nsAString & aKeyText) override; \
      46             :   NS_IMETHOD SetKeyText(const nsAString & aKeyText) override; \
      47             :   NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) override; 
      48             : 
      49             : /* Use this macro when declaring the members of this interface when the
      50             :    class doesn't implement the interface. This is useful for forwarding. */
      51             : #define NS_DECL_NON_VIRTUAL_NSIDOMCSSKEYFRAMERULE \
      52             :   nsresult GetKeyText(nsAString & aKeyText); \
      53             :   nsresult SetKeyText(const nsAString & aKeyText); \
      54             :   nsresult GetStyle(nsIDOMCSSStyleDeclaration * *aStyle); 
      55             : 
      56             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      57             : #define NS_FORWARD_NSIDOMCSSKEYFRAMERULE(_to) \
      58             :   NS_IMETHOD GetKeyText(nsAString & aKeyText) override { return _to GetKeyText(aKeyText); } \
      59             :   NS_IMETHOD SetKeyText(const nsAString & aKeyText) override { return _to SetKeyText(aKeyText); } \
      60             :   NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) override { return _to GetStyle(aStyle); } 
      61             : 
      62             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      63             : #define NS_FORWARD_SAFE_NSIDOMCSSKEYFRAMERULE(_to) \
      64             :   NS_IMETHOD GetKeyText(nsAString & aKeyText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeyText(aKeyText); } \
      65             :   NS_IMETHOD SetKeyText(const nsAString & aKeyText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetKeyText(aKeyText); } \
      66             :   NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyle(aStyle); } 
      67             : 
      68             : #if 0
      69             : /* Use the code below as a template for the implementation class for this interface. */
      70             : 
      71             : /* Header file */
      72             : class nsDOMCSSKeyframeRule : public nsIDOMCSSKeyframeRule
      73             : {
      74             : public:
      75             :   NS_DECL_ISUPPORTS
      76             :   NS_DECL_NSIDOMCSSKEYFRAMERULE
      77             : 
      78             :   nsDOMCSSKeyframeRule();
      79             : 
      80             : private:
      81             :   ~nsDOMCSSKeyframeRule();
      82             : 
      83             : protected:
      84             :   /* additional members */
      85             : };
      86             : 
      87             : /* Implementation file */
      88             : NS_IMPL_ISUPPORTS(nsDOMCSSKeyframeRule, nsIDOMCSSKeyframeRule)
      89             : 
      90             : nsDOMCSSKeyframeRule::nsDOMCSSKeyframeRule()
      91             : {
      92             :   /* member initializers and constructor code */
      93             : }
      94             : 
      95             : nsDOMCSSKeyframeRule::~nsDOMCSSKeyframeRule()
      96             : {
      97             :   /* destructor code */
      98             : }
      99             : 
     100             : /* attribute DOMString keyText; */
     101             : NS_IMETHODIMP nsDOMCSSKeyframeRule::GetKeyText(nsAString & aKeyText)
     102             : {
     103             :     return NS_ERROR_NOT_IMPLEMENTED;
     104             : }
     105             : NS_IMETHODIMP nsDOMCSSKeyframeRule::SetKeyText(const nsAString & aKeyText)
     106             : {
     107             :     return NS_ERROR_NOT_IMPLEMENTED;
     108             : }
     109             : 
     110             : /* readonly attribute nsIDOMCSSStyleDeclaration style; */
     111             : NS_IMETHODIMP nsDOMCSSKeyframeRule::GetStyle(nsIDOMCSSStyleDeclaration * *aStyle)
     112             : {
     113             :     return NS_ERROR_NOT_IMPLEMENTED;
     114             : }
     115             : 
     116             : /* End of implementation class template. */
     117             : #endif
     118             : 
     119             : 
     120             : #endif /* __gen_nsIDOMCSSKeyframeRule_h__ */

Generated by: LCOV version 1.13