1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/css/nsIDOMCSSValueList.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMCSSValueList_h__
6 : #define __gen_nsIDOMCSSValueList_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMCSSValue_h__
10 : #include "nsIDOMCSSValue.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: nsIDOMCSSValueList */
19 : #define NS_IDOMCSSVALUELIST_IID_STR "8f09fa84-39b9-4dca-9b2f-db0eeb186286"
20 :
21 : #define NS_IDOMCSSVALUELIST_IID \
22 : {0x8f09fa84, 0x39b9, 0x4dca, \
23 : { 0x9b, 0x2f, 0xdb, 0x0e, 0xeb, 0x18, 0x62, 0x86 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMCSSValueList : public nsIDOMCSSValue {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSVALUELIST_IID)
29 :
30 : /* readonly attribute unsigned long length; */
31 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
32 :
33 : /* nsIDOMCSSValue item (in unsigned long index); */
34 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue * *_retval NS_OUTPARAM) = 0;
35 :
36 : };
37 :
38 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSValueList, NS_IDOMCSSVALUELIST_IID)
39 :
40 : /* Use this macro when declaring classes that implement this interface. */
41 : #define NS_DECL_NSIDOMCSSVALUELIST \
42 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \
43 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue * *_retval NS_OUTPARAM);
44 :
45 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
46 : #define NS_FORWARD_NSIDOMCSSVALUELIST(_to) \
47 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
48 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue * *_retval NS_OUTPARAM) { return _to Item(index, _retval); }
49 :
50 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
51 : #define NS_FORWARD_SAFE_NSIDOMCSSVALUELIST(_to) \
52 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
53 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMCSSValue * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); }
54 :
55 : #if 0
56 : /* Use the code below as a template for the implementation class for this interface. */
57 :
58 : /* Header file */
59 : class nsDOMCSSValueList : public nsIDOMCSSValueList
60 : {
61 : public:
62 : NS_DECL_ISUPPORTS
63 : NS_DECL_NSIDOMCSSVALUELIST
64 :
65 : nsDOMCSSValueList();
66 :
67 : private:
68 : ~nsDOMCSSValueList();
69 :
70 : protected:
71 : /* additional members */
72 : };
73 :
74 : /* Implementation file */
75 : NS_IMPL_ISUPPORTS1(nsDOMCSSValueList, nsIDOMCSSValueList)
76 :
77 : nsDOMCSSValueList::nsDOMCSSValueList()
78 : {
79 : /* member initializers and constructor code */
80 : }
81 :
82 : nsDOMCSSValueList::~nsDOMCSSValueList()
83 : {
84 : /* destructor code */
85 : }
86 :
87 : /* readonly attribute unsigned long length; */
88 : NS_IMETHODIMP nsDOMCSSValueList::GetLength(PRUint32 *aLength)
89 : {
90 : return NS_ERROR_NOT_IMPLEMENTED;
91 : }
92 :
93 : /* nsIDOMCSSValue item (in unsigned long index); */
94 : NS_IMETHODIMP nsDOMCSSValueList::Item(PRUint32 index, nsIDOMCSSValue * *_retval NS_OUTPARAM)
95 : {
96 : return NS_ERROR_NOT_IMPLEMENTED;
97 : }
98 :
99 : /* End of implementation class template. */
100 : #endif
101 :
102 :
103 : #endif /* __gen_nsIDOMCSSValueList_h__ */
|