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/html/nsIDOMHTMLDirectoryElement
.idl |
| 3 */ |
| 4 |
| 5 #ifndef __gen_nsIDOMHTMLDirectoryElement_h__ |
| 6 #define __gen_nsIDOMHTMLDirectoryElement_h__ |
| 7 |
| 8 |
| 9 #ifndef __gen_nsIDOMHTMLElement_h__ |
| 10 #include "nsIDOMHTMLElement.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: nsIDOMHTMLDirectoryElement */ |
| 19 #define NS_IDOMHTMLDIRECTORYELEMENT_IID_STR "a6cf909c-15b3-11d2-932e-00805f8add3
2" |
| 20 |
| 21 #define NS_IDOMHTMLDIRECTORYELEMENT_IID \ |
| 22 {0xa6cf909c, 0x15b3, 0x11d2, \ |
| 23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }} |
| 24 |
| 25 /** |
| 26 * The nsIDOMHTMLDirectoryElement interface is the interface to a |
| 27 * [X]HTML dir element. |
| 28 * |
| 29 * For more information on this interface please see |
| 30 * http://www.w3.org/TR/DOM-Level-2-HTML/ |
| 31 * |
| 32 * @status FROZEN |
| 33 */ |
| 34 class NS_NO_VTABLE nsIDOMHTMLDirectoryElement : public nsIDOMHTMLElement { |
| 35 public: |
| 36 |
| 37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLDIRECTORYELEMENT_IID) |
| 38 |
| 39 /* attribute boolean compact; */ |
| 40 NS_IMETHOD GetCompact(PRBool *aCompact) = 0; |
| 41 NS_IMETHOD SetCompact(PRBool aCompact) = 0; |
| 42 |
| 43 }; |
| 44 |
| 45 /* Use this macro when declaring classes that implement this interface. */ |
| 46 #define NS_DECL_NSIDOMHTMLDIRECTORYELEMENT \ |
| 47 NS_IMETHOD GetCompact(PRBool *aCompact); \ |
| 48 NS_IMETHOD SetCompact(PRBool aCompact); |
| 49 |
| 50 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 51 #define NS_FORWARD_NSIDOMHTMLDIRECTORYELEMENT(_to) \ |
| 52 NS_IMETHOD GetCompact(PRBool *aCompact) { return _to GetCompact(aCompact); } \ |
| 53 NS_IMETHOD SetCompact(PRBool aCompact) { return _to SetCompact(aCompact); } |
| 54 |
| 55 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object in a safe way. */ |
| 56 #define NS_FORWARD_SAFE_NSIDOMHTMLDIRECTORYELEMENT(_to) \ |
| 57 NS_IMETHOD GetCompact(PRBool *aCompact) { return !_to ? NS_ERROR_NULL_POINTER
: _to->GetCompact(aCompact); } \ |
| 58 NS_IMETHOD SetCompact(PRBool aCompact) { return !_to ? NS_ERROR_NULL_POINTER :
_to->SetCompact(aCompact); } |
| 59 |
| 60 #if 0 |
| 61 /* Use the code below as a template for the implementation class for this interf
ace. */ |
| 62 |
| 63 /* Header file */ |
| 64 class nsDOMHTMLDirectoryElement : public nsIDOMHTMLDirectoryElement |
| 65 { |
| 66 public: |
| 67 NS_DECL_ISUPPORTS |
| 68 NS_DECL_NSIDOMHTMLDIRECTORYELEMENT |
| 69 |
| 70 nsDOMHTMLDirectoryElement(); |
| 71 |
| 72 private: |
| 73 ~nsDOMHTMLDirectoryElement(); |
| 74 |
| 75 protected: |
| 76 /* additional members */ |
| 77 }; |
| 78 |
| 79 /* Implementation file */ |
| 80 NS_IMPL_ISUPPORTS1(nsDOMHTMLDirectoryElement, nsIDOMHTMLDirectoryElement) |
| 81 |
| 82 nsDOMHTMLDirectoryElement::nsDOMHTMLDirectoryElement() |
| 83 { |
| 84 /* member initializers and constructor code */ |
| 85 } |
| 86 |
| 87 nsDOMHTMLDirectoryElement::~nsDOMHTMLDirectoryElement() |
| 88 { |
| 89 /* destructor code */ |
| 90 } |
| 91 |
| 92 /* attribute boolean compact; */ |
| 93 NS_IMETHODIMP nsDOMHTMLDirectoryElement::GetCompact(PRBool *aCompact) |
| 94 { |
| 95 return NS_ERROR_NOT_IMPLEMENTED; |
| 96 } |
| 97 NS_IMETHODIMP nsDOMHTMLDirectoryElement::SetCompact(PRBool aCompact) |
| 98 { |
| 99 return NS_ERROR_NOT_IMPLEMENTED; |
| 100 } |
| 101 |
| 102 /* End of implementation class template. */ |
| 103 #endif |
| 104 |
| 105 |
| 106 #endif /* __gen_nsIDOMHTMLDirectoryElement_h__ */ |
OLD | NEW |