1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGDocument.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMSVGDocument_h__
6 : #define __gen_nsIDOMSVGDocument_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 : class nsIDOMSVGSVGElement; /* forward declaration */
18 :
19 :
20 : /* starting interface: nsIDOMSVGDocument */
21 : #define NS_IDOMSVGDOCUMENT_IID_STR "4368b131-bfe9-4f34-848d-00139217c1d1"
22 :
23 : #define NS_IDOMSVGDOCUMENT_IID \
24 : {0x4368b131, 0xbfe9, 0x4f34, \
25 : { 0x84, 0x8d, 0x00, 0x13, 0x92, 0x17, 0xc1, 0xd1 }}
26 :
27 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGDocument : public nsIDOMDocument {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGDOCUMENT_IID)
31 :
32 : /* readonly attribute DOMString domain; */
33 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain) = 0;
34 :
35 : /* readonly attribute DOMString URL; */
36 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsAString & aURL) = 0;
37 :
38 : /* readonly attribute nsIDOMSVGSVGElement rootElement; */
39 : NS_SCRIPTABLE NS_IMETHOD GetRootElement(nsIDOMSVGSVGElement * *aRootElement) = 0;
40 :
41 : };
42 :
43 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGDocument, NS_IDOMSVGDOCUMENT_IID)
44 :
45 : /* Use this macro when declaring classes that implement this interface. */
46 : #define NS_DECL_NSIDOMSVGDOCUMENT \
47 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain); \
48 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsAString & aURL); \
49 : NS_SCRIPTABLE NS_IMETHOD GetRootElement(nsIDOMSVGSVGElement * *aRootElement);
50 :
51 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
52 : #define NS_FORWARD_NSIDOMSVGDOCUMENT(_to) \
53 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain) { return _to GetDomain(aDomain); } \
54 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsAString & aURL) { return _to GetURL(aURL); } \
55 : NS_SCRIPTABLE NS_IMETHOD GetRootElement(nsIDOMSVGSVGElement * *aRootElement) { return _to GetRootElement(aRootElement); }
56 :
57 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
58 : #define NS_FORWARD_SAFE_NSIDOMSVGDOCUMENT(_to) \
59 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomain(aDomain); } \
60 : NS_SCRIPTABLE NS_IMETHOD GetURL(nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURL(aURL); } \
61 : NS_SCRIPTABLE NS_IMETHOD GetRootElement(nsIDOMSVGSVGElement * *aRootElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRootElement(aRootElement); }
62 :
63 : #if 0
64 : /* Use the code below as a template for the implementation class for this interface. */
65 :
66 : /* Header file */
67 : class nsDOMSVGDocument : public nsIDOMSVGDocument
68 : {
69 : public:
70 : NS_DECL_ISUPPORTS
71 : NS_DECL_NSIDOMSVGDOCUMENT
72 :
73 : nsDOMSVGDocument();
74 :
75 : private:
76 : ~nsDOMSVGDocument();
77 :
78 : protected:
79 : /* additional members */
80 : };
81 :
82 : /* Implementation file */
83 : NS_IMPL_ISUPPORTS1(nsDOMSVGDocument, nsIDOMSVGDocument)
84 :
85 : nsDOMSVGDocument::nsDOMSVGDocument()
86 : {
87 : /* member initializers and constructor code */
88 : }
89 :
90 : nsDOMSVGDocument::~nsDOMSVGDocument()
91 : {
92 : /* destructor code */
93 : }
94 :
95 : /* readonly attribute DOMString domain; */
96 : NS_IMETHODIMP nsDOMSVGDocument::GetDomain(nsAString & aDomain)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* readonly attribute DOMString URL; */
102 : NS_IMETHODIMP nsDOMSVGDocument::GetURL(nsAString & aURL)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 :
107 : /* readonly attribute nsIDOMSVGSVGElement rootElement; */
108 : NS_IMETHODIMP nsDOMSVGDocument::GetRootElement(nsIDOMSVGSVGElement * *aRootElement)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* End of implementation class template. */
114 : #endif
115 :
116 :
117 : #endif /* __gen_nsIDOMSVGDocument_h__ */
|