OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * 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/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-214b65c26e
22" |
| 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 */ |
| 34 class NS_NO_VTABLE nsIDOMElementCSSInlineStyle : public nsISupports { |
| 35 public: |
| 36 |
| 37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMELEMENTCSSINLINESTYLE_IID) |
| 38 |
| 39 /* readonly attribute nsIDOMCSSStyleDeclaration style; */ |
| 40 NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) = 0; |
| 41 |
| 42 }; |
| 43 |
| 44 /* Use this macro when declaring classes that implement this interface. */ |
| 45 #define NS_DECL_NSIDOMELEMENTCSSINLINESTYLE \ |
| 46 NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle); |
| 47 |
| 48 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 49 #define NS_FORWARD_NSIDOMELEMENTCSSINLINESTYLE(_to) \ |
| 50 NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) { return _to GetStyle
(aStyle); } |
| 51 |
| 52 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object in a safe way. */ |
| 53 #define NS_FORWARD_SAFE_NSIDOMELEMENTCSSINLINESTYLE(_to) \ |
| 54 NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) { return !_to ? NS_ER
ROR_NULL_POINTER : _to->GetStyle(aStyle); } |
| 55 |
| 56 #if 0 |
| 57 /* Use the code below as a template for the implementation class for this interf
ace. */ |
| 58 |
| 59 /* Header file */ |
| 60 class nsDOMElementCSSInlineStyle : public nsIDOMElementCSSInlineStyle |
| 61 { |
| 62 public: |
| 63 NS_DECL_ISUPPORTS |
| 64 NS_DECL_NSIDOMELEMENTCSSINLINESTYLE |
| 65 |
| 66 nsDOMElementCSSInlineStyle(); |
| 67 |
| 68 private: |
| 69 ~nsDOMElementCSSInlineStyle(); |
| 70 |
| 71 protected: |
| 72 /* additional members */ |
| 73 }; |
| 74 |
| 75 /* Implementation file */ |
| 76 NS_IMPL_ISUPPORTS1(nsDOMElementCSSInlineStyle, nsIDOMElementCSSInlineStyle) |
| 77 |
| 78 nsDOMElementCSSInlineStyle::nsDOMElementCSSInlineStyle() |
| 79 { |
| 80 /* member initializers and constructor code */ |
| 81 } |
| 82 |
| 83 nsDOMElementCSSInlineStyle::~nsDOMElementCSSInlineStyle() |
| 84 { |
| 85 /* destructor code */ |
| 86 } |
| 87 |
| 88 /* readonly attribute nsIDOMCSSStyleDeclaration style; */ |
| 89 NS_IMETHODIMP nsDOMElementCSSInlineStyle::GetStyle(nsIDOMCSSStyleDeclaration * *
aStyle) |
| 90 { |
| 91 return NS_ERROR_NOT_IMPLEMENTED; |
| 92 } |
| 93 |
| 94 /* End of implementation class template. */ |
| 95 #endif |
| 96 |
| 97 |
| 98 #endif /* __gen_nsIDOMElementCSSInlineStyle_h__ */ |
OLD | NEW |