1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/core/nsIDOMXMLDocument.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMXMLDocument_h__
6 : #define __gen_nsIDOMXMLDocument_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMDocument_h__
10 : #include "nsIDOMDocument.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: nsIDOMXMLDocument */
19 : #define NS_IDOMXMLDOCUMENT_IID_STR "b53a4bab-0065-468b-810a-4c4659a04f00"
20 :
21 : #define NS_IDOMXMLDOCUMENT_IID \
22 : {0xb53a4bab, 0x0065, 0x468b, \
23 : { 0x81, 0x0a, 0x4c, 0x46, 0x59, 0xa0, 0x4f, 0x00 }}
24 :
25 1273 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMXMLDocument : public nsIDOMDocument {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMXMLDOCUMENT_IID)
29 :
30 : /* attribute boolean async; */
31 : NS_SCRIPTABLE NS_IMETHOD GetAsync(bool *aAsync) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetAsync(bool aAsync) = 0;
33 :
34 : /* boolean load (in DOMString url); */
35 : NS_SCRIPTABLE NS_IMETHOD Load(const nsAString & url, bool *_retval NS_OUTPARAM) = 0;
36 :
37 : };
38 :
39 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMXMLDocument, NS_IDOMXMLDOCUMENT_IID)
40 :
41 : /* Use this macro when declaring classes that implement this interface. */
42 : #define NS_DECL_NSIDOMXMLDOCUMENT \
43 : NS_SCRIPTABLE NS_IMETHOD GetAsync(bool *aAsync); \
44 : NS_SCRIPTABLE NS_IMETHOD SetAsync(bool aAsync); \
45 : NS_SCRIPTABLE NS_IMETHOD Load(const nsAString & url, bool *_retval NS_OUTPARAM);
46 :
47 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
48 : #define NS_FORWARD_NSIDOMXMLDOCUMENT(_to) \
49 : NS_SCRIPTABLE NS_IMETHOD GetAsync(bool *aAsync) { return _to GetAsync(aAsync); } \
50 : NS_SCRIPTABLE NS_IMETHOD SetAsync(bool aAsync) { return _to SetAsync(aAsync); } \
51 : NS_SCRIPTABLE NS_IMETHOD Load(const nsAString & url, bool *_retval NS_OUTPARAM) { return _to Load(url, _retval); }
52 :
53 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
54 : #define NS_FORWARD_SAFE_NSIDOMXMLDOCUMENT(_to) \
55 : NS_SCRIPTABLE NS_IMETHOD GetAsync(bool *aAsync) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAsync(aAsync); } \
56 : NS_SCRIPTABLE NS_IMETHOD SetAsync(bool aAsync) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAsync(aAsync); } \
57 : NS_SCRIPTABLE NS_IMETHOD Load(const nsAString & url, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Load(url, _retval); }
58 :
59 : #if 0
60 : /* Use the code below as a template for the implementation class for this interface. */
61 :
62 : /* Header file */
63 : class nsDOMXMLDocument : public nsIDOMXMLDocument
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIDOMXMLDOCUMENT
68 :
69 : nsDOMXMLDocument();
70 :
71 : private:
72 : ~nsDOMXMLDocument();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS1(nsDOMXMLDocument, nsIDOMXMLDocument)
80 :
81 : nsDOMXMLDocument::nsDOMXMLDocument()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsDOMXMLDocument::~nsDOMXMLDocument()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* attribute boolean async; */
92 : NS_IMETHODIMP nsDOMXMLDocument::GetAsync(bool *aAsync)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 : NS_IMETHODIMP nsDOMXMLDocument::SetAsync(bool aAsync)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* boolean load (in DOMString url); */
102 : NS_IMETHODIMP nsDOMXMLDocument::Load(const nsAString & url, bool *_retval NS_OUTPARAM)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 :
107 : /* End of implementation class template. */
108 : #endif
109 :
110 :
111 : #endif /* __gen_nsIDOMXMLDocument_h__ */
|