| Index: gecko-sdk/include/nsIDOMCSSStyleDeclaration.h
|
| ===================================================================
|
| --- gecko-sdk/include/nsIDOMCSSStyleDeclaration.h (revision 0)
|
| +++ gecko-sdk/include/nsIDOMCSSStyleDeclaration.h (revision 0)
|
| @@ -0,0 +1,202 @@
|
| +/*
|
| + * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0-Release/WINNT_5.2_Depend/mozilla/dom/public/idl/css/nsIDOMCSSStyleDeclaration.idl
|
| + */
|
| +
|
| +#ifndef __gen_nsIDOMCSSStyleDeclaration_h__
|
| +#define __gen_nsIDOMCSSStyleDeclaration_h__
|
| +
|
| +
|
| +#ifndef __gen_domstubs_h__
|
| +#include "domstubs.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: nsIDOMCSSStyleDeclaration */
|
| +#define NS_IDOMCSSSTYLEDECLARATION_IID_STR "a6cf90be-15b3-11d2-932e-00805f8add32"
|
| +
|
| +#define NS_IDOMCSSSTYLEDECLARATION_IID \
|
| + {0xa6cf90be, 0x15b3, 0x11d2, \
|
| + { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
|
| +
|
| +class NS_NO_VTABLE nsIDOMCSSStyleDeclaration : public nsISupports {
|
| + public:
|
| +
|
| + NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMCSSSTYLEDECLARATION_IID)
|
| +
|
| + /**
|
| + * The nsIDOMCSSStyleDeclaration interface is a datatype for a CSS
|
| + * style declaration in the Document Object Model.
|
| + *
|
| + * For more information on this interface please see
|
| + * http://www.w3.org/TR/DOM-Level-2-Style
|
| + *
|
| + * @status FROZEN
|
| + */
|
| + /* attribute DOMString cssText; */
|
| + NS_IMETHOD GetCssText(nsAString & aCssText) = 0;
|
| + NS_IMETHOD SetCssText(const nsAString & aCssText) = 0;
|
| +
|
| + /* DOMString getPropertyValue (in DOMString propertyName); */
|
| + NS_IMETHOD GetPropertyValue(const nsAString & propertyName, nsAString & _retval) = 0;
|
| +
|
| + /* nsIDOMCSSValue getPropertyCSSValue (in DOMString propertyName); */
|
| + NS_IMETHOD GetPropertyCSSValue(const nsAString & propertyName, nsIDOMCSSValue **_retval) = 0;
|
| +
|
| + /* DOMString removeProperty (in DOMString propertyName) raises (DOMException); */
|
| + NS_IMETHOD RemoveProperty(const nsAString & propertyName, nsAString & _retval) = 0;
|
| +
|
| + /* DOMString getPropertyPriority (in DOMString propertyName); */
|
| + NS_IMETHOD GetPropertyPriority(const nsAString & propertyName, nsAString & _retval) = 0;
|
| +
|
| + /* void setProperty (in DOMString propertyName, in DOMString value, in DOMString priority) raises (DOMException); */
|
| + NS_IMETHOD SetProperty(const nsAString & propertyName, const nsAString & value, const nsAString & priority) = 0;
|
| +
|
| + /* readonly attribute unsigned long length; */
|
| + NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
|
| +
|
| + /* DOMString item (in unsigned long index); */
|
| + NS_IMETHOD Item(PRUint32 index, nsAString & _retval) = 0;
|
| +
|
| + /* readonly attribute nsIDOMCSSRule parentRule; */
|
| + NS_IMETHOD GetParentRule(nsIDOMCSSRule * *aParentRule) = 0;
|
| +
|
| +};
|
| +
|
| +/* Use this macro when declaring classes that implement this interface. */
|
| +#define NS_DECL_NSIDOMCSSSTYLEDECLARATION \
|
| + NS_IMETHOD GetCssText(nsAString & aCssText); \
|
| + NS_IMETHOD SetCssText(const nsAString & aCssText); \
|
| + NS_IMETHOD GetPropertyValue(const nsAString & propertyName, nsAString & _retval); \
|
| + NS_IMETHOD GetPropertyCSSValue(const nsAString & propertyName, nsIDOMCSSValue **_retval); \
|
| + NS_IMETHOD RemoveProperty(const nsAString & propertyName, nsAString & _retval); \
|
| + NS_IMETHOD GetPropertyPriority(const nsAString & propertyName, nsAString & _retval); \
|
| + NS_IMETHOD SetProperty(const nsAString & propertyName, const nsAString & value, const nsAString & priority); \
|
| + NS_IMETHOD GetLength(PRUint32 *aLength); \
|
| + NS_IMETHOD Item(PRUint32 index, nsAString & _retval); \
|
| + NS_IMETHOD GetParentRule(nsIDOMCSSRule * *aParentRule);
|
| +
|
| +/* Use this macro to declare functions that forward the behavior of this interface to another object. */
|
| +#define NS_FORWARD_NSIDOMCSSSTYLEDECLARATION(_to) \
|
| + NS_IMETHOD GetCssText(nsAString & aCssText) { return _to GetCssText(aCssText); } \
|
| + NS_IMETHOD SetCssText(const nsAString & aCssText) { return _to SetCssText(aCssText); } \
|
| + NS_IMETHOD GetPropertyValue(const nsAString & propertyName, nsAString & _retval) { return _to GetPropertyValue(propertyName, _retval); } \
|
| + NS_IMETHOD GetPropertyCSSValue(const nsAString & propertyName, nsIDOMCSSValue **_retval) { return _to GetPropertyCSSValue(propertyName, _retval); } \
|
| + NS_IMETHOD RemoveProperty(const nsAString & propertyName, nsAString & _retval) { return _to RemoveProperty(propertyName, _retval); } \
|
| + NS_IMETHOD GetPropertyPriority(const nsAString & propertyName, nsAString & _retval) { return _to GetPropertyPriority(propertyName, _retval); } \
|
| + NS_IMETHOD SetProperty(const nsAString & propertyName, const nsAString & value, const nsAString & priority) { return _to SetProperty(propertyName, value, priority); } \
|
| + NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
|
| + NS_IMETHOD Item(PRUint32 index, nsAString & _retval) { return _to Item(index, _retval); } \
|
| + NS_IMETHOD GetParentRule(nsIDOMCSSRule * *aParentRule) { return _to GetParentRule(aParentRule); }
|
| +
|
| +/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
|
| +#define NS_FORWARD_SAFE_NSIDOMCSSSTYLEDECLARATION(_to) \
|
| + NS_IMETHOD GetCssText(nsAString & aCssText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCssText(aCssText); } \
|
| + NS_IMETHOD SetCssText(const nsAString & aCssText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCssText(aCssText); } \
|
| + NS_IMETHOD GetPropertyValue(const nsAString & propertyName, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyValue(propertyName, _retval); } \
|
| + NS_IMETHOD GetPropertyCSSValue(const nsAString & propertyName, nsIDOMCSSValue **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyCSSValue(propertyName, _retval); } \
|
| + NS_IMETHOD RemoveProperty(const nsAString & propertyName, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveProperty(propertyName, _retval); } \
|
| + NS_IMETHOD GetPropertyPriority(const nsAString & propertyName, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyPriority(propertyName, _retval); } \
|
| + NS_IMETHOD SetProperty(const nsAString & propertyName, const nsAString & value, const nsAString & priority) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProperty(propertyName, value, priority); } \
|
| + NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
|
| + NS_IMETHOD Item(PRUint32 index, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); } \
|
| + NS_IMETHOD GetParentRule(nsIDOMCSSRule * *aParentRule) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentRule(aParentRule); }
|
| +
|
| +#if 0
|
| +/* Use the code below as a template for the implementation class for this interface. */
|
| +
|
| +/* Header file */
|
| +class nsDOMCSSStyleDeclaration : public nsIDOMCSSStyleDeclaration
|
| +{
|
| +public:
|
| + NS_DECL_ISUPPORTS
|
| + NS_DECL_NSIDOMCSSSTYLEDECLARATION
|
| +
|
| + nsDOMCSSStyleDeclaration();
|
| +
|
| +private:
|
| + ~nsDOMCSSStyleDeclaration();
|
| +
|
| +protected:
|
| + /* additional members */
|
| +};
|
| +
|
| +/* Implementation file */
|
| +NS_IMPL_ISUPPORTS1(nsDOMCSSStyleDeclaration, nsIDOMCSSStyleDeclaration)
|
| +
|
| +nsDOMCSSStyleDeclaration::nsDOMCSSStyleDeclaration()
|
| +{
|
| + /* member initializers and constructor code */
|
| +}
|
| +
|
| +nsDOMCSSStyleDeclaration::~nsDOMCSSStyleDeclaration()
|
| +{
|
| + /* destructor code */
|
| +}
|
| +
|
| +/* attribute DOMString cssText; */
|
| +NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetCssText(nsAString & aCssText)
|
| +{
|
| + return NS_ERROR_NOT_IMPLEMENTED;
|
| +}
|
| +NS_IMETHODIMP nsDOMCSSStyleDeclaration::SetCssText(const nsAString & aCssText)
|
| +{
|
| + return NS_ERROR_NOT_IMPLEMENTED;
|
| +}
|
| +
|
| +/* DOMString getPropertyValue (in DOMString propertyName); */
|
| +NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetPropertyValue(const nsAString & propertyName, nsAString & _retval)
|
| +{
|
| + return NS_ERROR_NOT_IMPLEMENTED;
|
| +}
|
| +
|
| +/* nsIDOMCSSValue getPropertyCSSValue (in DOMString propertyName); */
|
| +NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetPropertyCSSValue(const nsAString & propertyName, nsIDOMCSSValue **_retval)
|
| +{
|
| + return NS_ERROR_NOT_IMPLEMENTED;
|
| +}
|
| +
|
| +/* DOMString removeProperty (in DOMString propertyName) raises (DOMException); */
|
| +NS_IMETHODIMP nsDOMCSSStyleDeclaration::RemoveProperty(const nsAString & propertyName, nsAString & _retval)
|
| +{
|
| + return NS_ERROR_NOT_IMPLEMENTED;
|
| +}
|
| +
|
| +/* DOMString getPropertyPriority (in DOMString propertyName); */
|
| +NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetPropertyPriority(const nsAString & propertyName, nsAString & _retval)
|
| +{
|
| + return NS_ERROR_NOT_IMPLEMENTED;
|
| +}
|
| +
|
| +/* void setProperty (in DOMString propertyName, in DOMString value, in DOMString priority) raises (DOMException); */
|
| +NS_IMETHODIMP nsDOMCSSStyleDeclaration::SetProperty(const nsAString & propertyName, const nsAString & value, const nsAString & priority)
|
| +{
|
| + return NS_ERROR_NOT_IMPLEMENTED;
|
| +}
|
| +
|
| +/* readonly attribute unsigned long length; */
|
| +NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetLength(PRUint32 *aLength)
|
| +{
|
| + return NS_ERROR_NOT_IMPLEMENTED;
|
| +}
|
| +
|
| +/* DOMString item (in unsigned long index); */
|
| +NS_IMETHODIMP nsDOMCSSStyleDeclaration::Item(PRUint32 index, nsAString & _retval)
|
| +{
|
| + return NS_ERROR_NOT_IMPLEMENTED;
|
| +}
|
| +
|
| +/* readonly attribute nsIDOMCSSRule parentRule; */
|
| +NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetParentRule(nsIDOMCSSRule * *aParentRule)
|
| +{
|
| + return NS_ERROR_NOT_IMPLEMENTED;
|
| +}
|
| +
|
| +/* End of implementation class template. */
|
| +#endif
|
| +
|
| +
|
| +#endif /* __gen_nsIDOMCSSStyleDeclaration_h__ */
|
|
|
| Property changes on: gecko-sdk\include\nsIDOMCSSStyleDeclaration.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|