1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/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 "a99e86ae-7761-4145-b8a4-5a91186051f1"
20 :
21 : #define NS_IDOMHTMLDIRECTORYELEMENT_IID \
22 : {0xa99e86ae, 0x7761, 0x4145, \
23 : { 0xb8, 0xa4, 0x5a, 0x91, 0x18, 0x60, 0x51, 0xf1 }}
24 :
25 470 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLDirectoryElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLDIRECTORYELEMENT_IID)
29 :
30 : /* attribute boolean compact; */
31 : NS_SCRIPTABLE NS_IMETHOD GetCompact(bool *aCompact) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetCompact(bool aCompact) = 0;
33 :
34 : };
35 :
36 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLDirectoryElement, NS_IDOMHTMLDIRECTORYELEMENT_IID)
37 :
38 : /* Use this macro when declaring classes that implement this interface. */
39 : #define NS_DECL_NSIDOMHTMLDIRECTORYELEMENT \
40 : NS_SCRIPTABLE NS_IMETHOD GetCompact(bool *aCompact); \
41 : NS_SCRIPTABLE NS_IMETHOD SetCompact(bool aCompact);
42 :
43 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
44 : #define NS_FORWARD_NSIDOMHTMLDIRECTORYELEMENT(_to) \
45 : NS_SCRIPTABLE NS_IMETHOD GetCompact(bool *aCompact) { return _to GetCompact(aCompact); } \
46 : NS_SCRIPTABLE NS_IMETHOD SetCompact(bool aCompact) { return _to SetCompact(aCompact); }
47 :
48 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
49 : #define NS_FORWARD_SAFE_NSIDOMHTMLDIRECTORYELEMENT(_to) \
50 : NS_SCRIPTABLE NS_IMETHOD GetCompact(bool *aCompact) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompact(aCompact); } \
51 : NS_SCRIPTABLE NS_IMETHOD SetCompact(bool aCompact) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompact(aCompact); }
52 :
53 : #if 0
54 : /* Use the code below as a template for the implementation class for this interface. */
55 :
56 : /* Header file */
57 : class nsDOMHTMLDirectoryElement : public nsIDOMHTMLDirectoryElement
58 : {
59 : public:
60 : NS_DECL_ISUPPORTS
61 : NS_DECL_NSIDOMHTMLDIRECTORYELEMENT
62 :
63 : nsDOMHTMLDirectoryElement();
64 :
65 : private:
66 : ~nsDOMHTMLDirectoryElement();
67 :
68 : protected:
69 : /* additional members */
70 : };
71 :
72 : /* Implementation file */
73 : NS_IMPL_ISUPPORTS1(nsDOMHTMLDirectoryElement, nsIDOMHTMLDirectoryElement)
74 :
75 : nsDOMHTMLDirectoryElement::nsDOMHTMLDirectoryElement()
76 : {
77 : /* member initializers and constructor code */
78 : }
79 :
80 : nsDOMHTMLDirectoryElement::~nsDOMHTMLDirectoryElement()
81 : {
82 : /* destructor code */
83 : }
84 :
85 : /* attribute boolean compact; */
86 : NS_IMETHODIMP nsDOMHTMLDirectoryElement::GetCompact(bool *aCompact)
87 : {
88 : return NS_ERROR_NOT_IMPLEMENTED;
89 : }
90 : NS_IMETHODIMP nsDOMHTMLDirectoryElement::SetCompact(bool aCompact)
91 : {
92 : return NS_ERROR_NOT_IMPLEMENTED;
93 : }
94 :
95 : /* End of implementation class template. */
96 : #endif
97 :
98 :
99 : #endif /* __gen_nsIDOMHTMLDirectoryElement_h__ */
|