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

#ifndef __gen_nsICSSRuleDataSource_h__
#define __gen_nsICSSRuleDataSource_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMElement; /* forward declaration */


/* starting interface:    nsICSSRuleDataSource */
#define NS_ICSSRULEDATASOURCE_IID_STR "88b8b7cb-a1a0-4056-a2e1-04f4831c4c91"

#define NS_ICSSRULEDATASOURCE_IID \
  {0x88b8b7cb, 0xa1a0, 0x4056, \
    { 0xa2, 0xe1, 0x04, 0xf4, 0x83, 0x1c, 0x4c, 0x91 }}

class NS_NO_VTABLE nsICSSRuleDataSource : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_ICSSRULEDATASOURCE_IID)

  /* attribute nsIDOMElement element; */
  NS_IMETHOD GetElement(nsIDOMElement * *aElement) = 0;
  NS_IMETHOD SetElement(nsIDOMElement * aElement) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICSSRULEDATASOURCE \
  NS_IMETHOD GetElement(nsIDOMElement * *aElement); \
  NS_IMETHOD SetElement(nsIDOMElement * aElement); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSICSSRULEDATASOURCE(_to) \
  NS_IMETHOD GetElement(nsIDOMElement * *aElement) { return _to ## GetElement(aElement); } \
  NS_IMETHOD SetElement(nsIDOMElement * aElement) { return _to ## SetElement(aElement); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSICSSRULEDATASOURCE(_to) \
  NS_IMETHOD GetElement(nsIDOMElement * *aElement) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetElement(aElement); } \
  NS_IMETHOD SetElement(nsIDOMElement * aElement) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetElement(aElement); } 

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

/* Header file */
class nsCSSRuleDataSource : public nsICSSRuleDataSource
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSICSSRULEDATASOURCE

  nsCSSRuleDataSource();
  virtual ~nsCSSRuleDataSource();
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsCSSRuleDataSource, nsICSSRuleDataSource)

nsCSSRuleDataSource::nsCSSRuleDataSource()
{
  NS_INIT_ISUPPORTS();
  /* member initializers and constructor code */
}

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

/* attribute nsIDOMElement element; */
NS_IMETHODIMP nsCSSRuleDataSource::GetElement(nsIDOMElement * *aElement)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsCSSRuleDataSource::SetElement(nsIDOMElement * aElement)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* {71BCEACF-D73A-43f3-8F37-09BF916D7854} */
#define NS_CSSRULE_DATASOURCE_CID \
{ 0x71bceacf, 0xd73a, 0x43f3, { 0x8f, 0x37, 0x9, 0xbf, 0x91, 0x6d, 0x78, 0x54 } }

#endif /* __gen_nsICSSRuleDataSource_h__ */
