DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

nsIDOMCSSKeyframesRule

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMCSSKeyframesRule.idl
 */

#ifndef __gen_nsIDOMCSSKeyframesRule_h__
#define __gen_nsIDOMCSSKeyframesRule_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 nsIDOMCSSRuleList; /* forward declaration */

class nsIDOMCSSKeyframeRule; /* forward declaration */


/* starting interface:    nsIDOMCSSKeyframesRule */
#define NS_IDOMCSSKEYFRAMESRULE_IID_STR "400f4b70-ad0a-4047-aba4-ee8019f6b907"

#define NS_IDOMCSSKEYFRAMESRULE_IID \
  {0x400f4b70, 0xad0a, 0x4047, \
    { 0xab, 0xa4, 0xee, 0x80, 0x19, 0xf6, 0xb9, 0x07 }}

class NS_NO_VTABLE nsIDOMCSSKeyframesRule : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSKEYFRAMESRULE_IID)

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

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

  /* void appendRule (in DOMString rule); */
  NS_IMETHOD AppendRule(const nsAString & rule) = 0;

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

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

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSKeyframesRule, NS_IDOMCSSKEYFRAMESRULE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMCSSKEYFRAMESRULE \
  NS_IMETHOD GetName(nsAString & aName) override; \
  NS_IMETHOD SetName(const nsAString & aName) override; \
  NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) override; \
  NS_IMETHOD AppendRule(const nsAString & rule) override; \
  NS_IMETHOD DeleteRule(const nsAString & key) override; \
  NS_IMETHOD FindRule(const nsAString & key, nsIDOMCSSKeyframeRule * *_retval) 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_NSIDOMCSSKEYFRAMESRULE \
  nsresult GetName(nsAString & aName); \
  nsresult SetName(const nsAString & aName); \
  nsresult GetCssRules(nsIDOMCSSRuleList * *aCssRules); \
  nsresult AppendRule(const nsAString & rule); \
  nsresult DeleteRule(const nsAString & key); \
  nsresult FindRule(const nsAString & key, nsIDOMCSSKeyframeRule * *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMCSSKEYFRAMESRULE(_to) \
  NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
  NS_IMETHOD SetName(const nsAString & aName) override { return _to SetName(aName); } \
  NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) override { return _to GetCssRules(aCssRules); } \
  NS_IMETHOD AppendRule(const nsAString & rule) override { return _to AppendRule(rule); } \
  NS_IMETHOD DeleteRule(const nsAString & key) override { return _to DeleteRule(key); } \
  NS_IMETHOD FindRule(const nsAString & key, nsIDOMCSSKeyframeRule * *_retval) override { 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_NSIDOMCSSKEYFRAMESRULE(_to) \
  NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  NS_IMETHOD SetName(const nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCssRules(aCssRules); } \
  NS_IMETHOD AppendRule(const nsAString & rule) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendRule(rule); } \
  NS_IMETHOD DeleteRule(const nsAString & key) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteRule(key); } \
  NS_IMETHOD FindRule(const nsAString & key, nsIDOMCSSKeyframeRule * *_retval) override { 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 nsDOMCSSKeyframesRule : public nsIDOMCSSKeyframesRule
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMCSSKEYFRAMESRULE

  nsDOMCSSKeyframesRule();

private:
  ~nsDOMCSSKeyframesRule();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMCSSKeyframesRule, nsIDOMCSSKeyframesRule)

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

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

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

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

/* void appendRule (in DOMString rule); */
NS_IMETHODIMP nsDOMCSSKeyframesRule::AppendRule(const nsAString & rule)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

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

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


#endif /* __gen_nsIDOMCSSKeyframesRule_h__ */