/gecko_api/include/nsIDOMElementCSSInlineStyle.h
C Header | 100 lines | 48 code | 26 blank | 26 comment | 0 complexity | 911e7cc2ca19d372b3dd139eaa4374c2 MD5 | raw file
1/* 2 * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/dom/public/idl/css/nsIDOMElementCSSInlineStyle.idl 3 */ 4 5#ifndef __gen_nsIDOMElementCSSInlineStyle_h__ 6#define __gen_nsIDOMElementCSSInlineStyle_h__ 7 8 9#ifndef __gen_domstubs_h__ 10#include "domstubs.h" 11#endif 12 13/* For IDL files that don't want to include root IDL files. */ 14#ifndef NS_NO_VTABLE 15#define NS_NO_VTABLE 16#endif 17 18/* starting interface: nsIDOMElementCSSInlineStyle */ 19#define NS_IDOMELEMENTCSSINLINESTYLE_IID_STR "99715845-95fc-4a56-aa53-214b65c26e22" 20 21#define NS_IDOMELEMENTCSSINLINESTYLE_IID \ 22 {0x99715845, 0x95fc, 0x4a56, \ 23 { 0xaa, 0x53, 0x21, 0x4b, 0x65, 0xc2, 0x6e, 0x22 }} 24 25/** 26 * The nsIDOMElementCSSInlineStyle interface allows access to the inline 27 * style information for elements. 28 * 29 * For more information on this interface please see 30 * http://www.w3.org/TR/DOM-Level-2-Style 31 * 32 * @status FROZEN 33 */ 34class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMElementCSSInlineStyle : public nsISupports { 35 public: 36 37 NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMELEMENTCSSINLINESTYLE_IID) 38 39 /* readonly attribute nsIDOMCSSStyleDeclaration style; */ 40 NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) = 0; 41 42}; 43 44 NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMElementCSSInlineStyle, NS_IDOMELEMENTCSSINLINESTYLE_IID) 45 46/* Use this macro when declaring classes that implement this interface. */ 47#define NS_DECL_NSIDOMELEMENTCSSINLINESTYLE \ 48 NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle); 49 50/* Use this macro to declare functions that forward the behavior of this interface to another object. */ 51#define NS_FORWARD_NSIDOMELEMENTCSSINLINESTYLE(_to) \ 52 NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) { return _to GetStyle(aStyle); } 53 54/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ 55#define NS_FORWARD_SAFE_NSIDOMELEMENTCSSINLINESTYLE(_to) \ 56 NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyle(aStyle); } 57 58#if 0 59/* Use the code below as a template for the implementation class for this interface. */ 60 61/* Header file */ 62class nsDOMElementCSSInlineStyle : public nsIDOMElementCSSInlineStyle 63{ 64public: 65 NS_DECL_ISUPPORTS 66 NS_DECL_NSIDOMELEMENTCSSINLINESTYLE 67 68 nsDOMElementCSSInlineStyle(); 69 70private: 71 ~nsDOMElementCSSInlineStyle(); 72 73protected: 74 /* additional members */ 75}; 76 77/* Implementation file */ 78NS_IMPL_ISUPPORTS1(nsDOMElementCSSInlineStyle, nsIDOMElementCSSInlineStyle) 79 80nsDOMElementCSSInlineStyle::nsDOMElementCSSInlineStyle() 81{ 82 /* member initializers and constructor code */ 83} 84 85nsDOMElementCSSInlineStyle::~nsDOMElementCSSInlineStyle() 86{ 87 /* destructor code */ 88} 89 90/* readonly attribute nsIDOMCSSStyleDeclaration style; */ 91NS_IMETHODIMP nsDOMElementCSSInlineStyle::GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) 92{ 93 return NS_ERROR_NOT_IMPLEMENTED; 94} 95 96/* End of implementation class template. */ 97#endif 98 99 100#endif /* __gen_nsIDOMElementCSSInlineStyle_h__ */