/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMCSSLayerBlockRule.idl
 */

#ifndef __gen_nsIDOMCSSLayerBlockRule_h__
#define __gen_nsIDOMCSSLayerBlockRule_h__


#ifndef __gen_nsIDOMCSSGroupingRule_h__
#include "nsIDOMCSSGroupingRule.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIDOMCSSLayerBlockRule */
#define NS_IDOMCSSLAYERBLOCKRULE_IID_STR "2865c2ba-ae78-4282-8eff-9b7a2d71f9eb"

#define NS_IDOMCSSLAYERBLOCKRULE_IID \
  {0x2865c2ba, 0xae78, 0x4282, \
    { 0x8e, 0xff, 0x9b, 0x7a, 0x2d, 0x71, 0xf9, 0xeb }}

class NS_NO_VTABLE nsIDOMCSSLayerBlockRule : public nsIDOMCSSGroupingRule {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSLAYERBLOCKRULE_IID)

  /* readonly attribute DOMString name; */
  NS_IMETHOD GetName(nsAString & aName) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSLayerBlockRule, NS_IDOMCSSLAYERBLOCKRULE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMCSSLAYERBLOCKRULE \
  NS_IMETHOD GetName(nsAString & aName) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIDOMCSSLAYERBLOCKRULE \
  NS_METHOD GetName(nsAString & aName); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMCSSLAYERBLOCKRULE(_to) \
  NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMCSSLAYERBLOCKRULE(_to) \
  NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsDOMCSSLayerBlockRule : public nsIDOMCSSLayerBlockRule
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMCSSLAYERBLOCKRULE

  nsDOMCSSLayerBlockRule();

private:
  ~nsDOMCSSLayerBlockRule();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMCSSLayerBlockRule, nsIDOMCSSLayerBlockRule)

nsDOMCSSLayerBlockRule::nsDOMCSSLayerBlockRule()
{
  /* member initializers and constructor code */
}

nsDOMCSSLayerBlockRule::~nsDOMCSSLayerBlockRule()
{
  /* destructor code */
}

/* readonly attribute DOMString name; */
NS_IMETHODIMP nsDOMCSSLayerBlockRule::GetName(nsAString & aName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIDOMCSSLayerBlockRule_h__ */
