/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx64-xr/build/dom/interfaces/css/nsIDOMMozCSSKeyframesRule.idl
 */

#ifndef __gen_nsIDOMMozCSSKeyframesRule_h__
#define __gen_nsIDOMMozCSSKeyframesRule_h__


#ifndef __gen_nsIDOMCSSRule_h__
#include "nsIDOMCSSRule.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:    nsIDOMMozCSSKeyframesRule */
#define NS_IDOMMOZCSSKEYFRAMESRULE_IID_STR "aa4ea11f-791b-4671-b192-b931e6539669"

#define NS_IDOMMOZCSSKEYFRAMESRULE_IID \
  {0xaa4ea11f, 0x791b, 0x4671, \
    { 0xb1, 0x92, 0xb9, 0x31, 0xe6, 0x53, 0x96, 0x69 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMozCSSKeyframesRule : public nsIDOMCSSRule {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZCSSKEYFRAMESRULE_IID)

  /* attribute DOMString name; */
  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;

  /* readonly attribute nsIDOMCSSRuleList cssRules; */
  NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList **aCssRules) = 0;

  /* void insertRule (in DOMString rule); */
  NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule) = 0;

  /* void deleteRule (in DOMString key); */
  NS_SCRIPTABLE NS_IMETHOD DeleteRule(const nsAString & key) = 0;

  /* nsIDOMMozCSSKeyframeRule findRule (in DOMString key); */
  NS_SCRIPTABLE NS_IMETHOD FindRule(const nsAString & key, nsIDOMMozCSSKeyframeRule **_retval NS_OUTPARAM) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozCSSKeyframesRule, NS_IDOMMOZCSSKEYFRAMESRULE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMMOZCSSKEYFRAMESRULE \
  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
  NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList **aCssRules); \
  NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule); \
  NS_SCRIPTABLE NS_IMETHOD DeleteRule(const nsAString & key); \
  NS_SCRIPTABLE NS_IMETHOD FindRule(const nsAString & key, nsIDOMMozCSSKeyframeRule **_retval NS_OUTPARAM); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMMOZCSSKEYFRAMESRULE(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
  NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList **aCssRules) { return _to GetCssRules(aCssRules); } \
  NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule) { return _to InsertRule(rule); } \
  NS_SCRIPTABLE NS_IMETHOD DeleteRule(const nsAString & key) { return _to DeleteRule(key); } \
  NS_SCRIPTABLE NS_IMETHOD FindRule(const nsAString & key, nsIDOMMozCSSKeyframeRule **_retval NS_OUTPARAM) { return _to FindRule(key, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMMOZCSSKEYFRAMESRULE(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList **aCssRules) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCssRules(aCssRules); } \
  NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertRule(rule); } \
  NS_SCRIPTABLE NS_IMETHOD DeleteRule(const nsAString & key) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteRule(key); } \
  NS_SCRIPTABLE NS_IMETHOD FindRule(const nsAString & key, nsIDOMMozCSSKeyframeRule **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->FindRule(key, _retval); } 

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

/* Header file */
class nsDOMMozCSSKeyframesRule : public nsIDOMMozCSSKeyframesRule
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMMOZCSSKEYFRAMESRULE

  nsDOMMozCSSKeyframesRule();

private:
  ~nsDOMMozCSSKeyframesRule();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMMozCSSKeyframesRule, nsIDOMMozCSSKeyframesRule)

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

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

/* attribute DOMString name; */
NS_IMETHODIMP nsDOMMozCSSKeyframesRule::GetName(nsAString & aName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMMozCSSKeyframesRule::SetName(const nsAString & aName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIDOMCSSRuleList cssRules; */
NS_IMETHODIMP nsDOMMozCSSKeyframesRule::GetCssRules(nsIDOMCSSRuleList **aCssRules)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void insertRule (in DOMString rule); */
NS_IMETHODIMP nsDOMMozCSSKeyframesRule::InsertRule(const nsAString & rule)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void deleteRule (in DOMString key); */
NS_IMETHODIMP nsDOMMozCSSKeyframesRule::DeleteRule(const nsAString & key)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDOMMozCSSKeyframeRule findRule (in DOMString key); */
NS_IMETHODIMP nsDOMMozCSSKeyframesRule::FindRule(const nsAString & key, nsIDOMMozCSSKeyframeRule **_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMMozCSSKeyframesRule_h__ */
