1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/content/xslt/public/txINodeSet.idl
3 : */
4 :
5 : #ifndef __gen_txINodeSet_h__
6 : #define __gen_txINodeSet_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: txINodeSet */
19 : #define TXINODESET_IID_STR "15d424c0-6b47-11d9-9791-000a95dc234c"
20 :
21 : #define TXINODESET_IID \
22 : {0x15d424c0, 0x6b47, 0x11d9, \
23 : { 0x97, 0x91, 0x00, 0x0a, 0x95, 0xdc, 0x23, 0x4c }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE txINodeSet : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(TXINODESET_IID)
29 :
30 : /* nsIDOMNode item (in unsigned long index); */
31 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
32 :
33 : /* double itemAsNumber (in unsigned long index); */
34 : NS_SCRIPTABLE NS_IMETHOD ItemAsNumber(PRUint32 index, double *_retval NS_OUTPARAM) = 0;
35 :
36 : /* DOMString itemAsString (in unsigned long index); */
37 : NS_SCRIPTABLE NS_IMETHOD ItemAsString(PRUint32 index, nsAString & _retval NS_OUTPARAM) = 0;
38 :
39 : /* readonly attribute unsigned long length; */
40 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
41 :
42 : /* void add (in nsIDOMNode node); */
43 : NS_SCRIPTABLE NS_IMETHOD Add(nsIDOMNode *node) = 0;
44 :
45 : };
46 :
47 : NS_DEFINE_STATIC_IID_ACCESSOR(txINodeSet, TXINODESET_IID)
48 :
49 : /* Use this macro when declaring classes that implement this interface. */
50 : #define NS_DECL_TXINODESET \
51 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMNode * *_retval NS_OUTPARAM); \
52 : NS_SCRIPTABLE NS_IMETHOD ItemAsNumber(PRUint32 index, double *_retval NS_OUTPARAM); \
53 : NS_SCRIPTABLE NS_IMETHOD ItemAsString(PRUint32 index, nsAString & _retval NS_OUTPARAM); \
54 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \
55 : NS_SCRIPTABLE NS_IMETHOD Add(nsIDOMNode *node);
56 :
57 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
58 : #define NS_FORWARD_TXINODESET(_to) \
59 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMNode * *_retval NS_OUTPARAM) { return _to Item(index, _retval); } \
60 : NS_SCRIPTABLE NS_IMETHOD ItemAsNumber(PRUint32 index, double *_retval NS_OUTPARAM) { return _to ItemAsNumber(index, _retval); } \
61 : NS_SCRIPTABLE NS_IMETHOD ItemAsString(PRUint32 index, nsAString & _retval NS_OUTPARAM) { return _to ItemAsString(index, _retval); } \
62 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
63 : NS_SCRIPTABLE NS_IMETHOD Add(nsIDOMNode *node) { return _to Add(node); }
64 :
65 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
66 : #define NS_FORWARD_SAFE_TXINODESET(_to) \
67 : NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); } \
68 : NS_SCRIPTABLE NS_IMETHOD ItemAsNumber(PRUint32 index, double *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ItemAsNumber(index, _retval); } \
69 : NS_SCRIPTABLE NS_IMETHOD ItemAsString(PRUint32 index, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ItemAsString(index, _retval); } \
70 : NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
71 : NS_SCRIPTABLE NS_IMETHOD Add(nsIDOMNode *node) { return !_to ? NS_ERROR_NULL_POINTER : _to->Add(node); }
72 :
73 : #if 0
74 : /* Use the code below as a template for the implementation class for this interface. */
75 :
76 : /* Header file */
77 : class txNodeSet : public txINodeSet
78 : {
79 : public:
80 : NS_DECL_ISUPPORTS
81 : NS_DECL_TXINODESET
82 :
83 : txNodeSet();
84 :
85 : private:
86 : ~txNodeSet();
87 :
88 : protected:
89 : /* additional members */
90 : };
91 :
92 : /* Implementation file */
93 : NS_IMPL_ISUPPORTS1(txNodeSet, txINodeSet)
94 :
95 : txNodeSet::txNodeSet()
96 : {
97 : /* member initializers and constructor code */
98 : }
99 :
100 : txNodeSet::~txNodeSet()
101 : {
102 : /* destructor code */
103 : }
104 :
105 : /* nsIDOMNode item (in unsigned long index); */
106 : NS_IMETHODIMP txNodeSet::Item(PRUint32 index, nsIDOMNode * *_retval NS_OUTPARAM)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* double itemAsNumber (in unsigned long index); */
112 : NS_IMETHODIMP txNodeSet::ItemAsNumber(PRUint32 index, double *_retval NS_OUTPARAM)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 :
117 : /* DOMString itemAsString (in unsigned long index); */
118 : NS_IMETHODIMP txNodeSet::ItemAsString(PRUint32 index, nsAString & _retval NS_OUTPARAM)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 :
123 : /* readonly attribute unsigned long length; */
124 : NS_IMETHODIMP txNodeSet::GetLength(PRUint32 *aLength)
125 : {
126 : return NS_ERROR_NOT_IMPLEMENTED;
127 : }
128 :
129 : /* void add (in nsIDOMNode node); */
130 : NS_IMETHODIMP txNodeSet::Add(nsIDOMNode *node)
131 : {
132 : return NS_ERROR_NOT_IMPLEMENTED;
133 : }
134 :
135 : /* End of implementation class template. */
136 : #endif
137 :
138 :
139 : #endif /* __gen_txINodeSet_h__ */
|