1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/parser/htmlparser/public/nsIExtendedExpatSink.idl
3 : */
4 :
5 : #ifndef __gen_nsIExtendedExpatSink_h__
6 : #define __gen_nsIExtendedExpatSink_h__
7 :
8 :
9 : #ifndef __gen_nsIExpatSink_h__
10 : #include "nsIExpatSink.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: nsIExtendedExpatSink */
19 : #define NS_IEXTENDEDEXPATSINK_IID_STR "146e194b-333d-4283-8cf6-4bc3ee9b5dff"
20 :
21 : #define NS_IEXTENDEDEXPATSINK_IID \
22 : {0x146e194b, 0x333d, 0x4283, \
23 : { 0x8c, 0xf6, 0x4b, 0xc3, 0xee, 0x9b, 0x5d, 0xff }}
24 :
25 205 : class NS_NO_VTABLE NS_SCRIPTABLE nsIExtendedExpatSink : public nsIExpatSink {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEXTENDEDEXPATSINK_IID)
29 :
30 : /* void handleStartDTD (in wstring aDoctypeName, in wstring aSysid, in wstring aPubid); */
31 : NS_SCRIPTABLE NS_IMETHOD HandleStartDTD(const PRUnichar * aDoctypeName, const PRUnichar * aSysid, const PRUnichar * aPubid) = 0;
32 :
33 : /* void handleStartNamespaceDecl (in wstring aPrefix, in wstring aUri); */
34 : NS_SCRIPTABLE NS_IMETHOD HandleStartNamespaceDecl(const PRUnichar * aPrefix, const PRUnichar * aUri) = 0;
35 :
36 : /* void handleEndNamespaceDecl (in wstring aPrefix); */
37 : NS_SCRIPTABLE NS_IMETHOD HandleEndNamespaceDecl(const PRUnichar * aPrefix) = 0;
38 :
39 : /* void handleNotationDecl (in wstring aNotationName, in wstring aSysid, in wstring aPubid); */
40 : NS_SCRIPTABLE NS_IMETHOD HandleNotationDecl(const PRUnichar * aNotationName, const PRUnichar * aSysid, const PRUnichar * aPubid) = 0;
41 :
42 : /* void handleUnparsedEntityDecl (in wstring aName, in wstring aSysid, in wstring aPubid, in wstring aNotationName); */
43 : NS_SCRIPTABLE NS_IMETHOD HandleUnparsedEntityDecl(const PRUnichar * aName, const PRUnichar * aSysid, const PRUnichar * aPubid, const PRUnichar * aNotationName) = 0;
44 :
45 : };
46 :
47 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIExtendedExpatSink, NS_IEXTENDEDEXPATSINK_IID)
48 :
49 : /* Use this macro when declaring classes that implement this interface. */
50 : #define NS_DECL_NSIEXTENDEDEXPATSINK \
51 : NS_SCRIPTABLE NS_IMETHOD HandleStartDTD(const PRUnichar * aDoctypeName, const PRUnichar * aSysid, const PRUnichar * aPubid); \
52 : NS_SCRIPTABLE NS_IMETHOD HandleStartNamespaceDecl(const PRUnichar * aPrefix, const PRUnichar * aUri); \
53 : NS_SCRIPTABLE NS_IMETHOD HandleEndNamespaceDecl(const PRUnichar * aPrefix); \
54 : NS_SCRIPTABLE NS_IMETHOD HandleNotationDecl(const PRUnichar * aNotationName, const PRUnichar * aSysid, const PRUnichar * aPubid); \
55 : NS_SCRIPTABLE NS_IMETHOD HandleUnparsedEntityDecl(const PRUnichar * aName, const PRUnichar * aSysid, const PRUnichar * aPubid, const PRUnichar * aNotationName);
56 :
57 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
58 : #define NS_FORWARD_NSIEXTENDEDEXPATSINK(_to) \
59 : NS_SCRIPTABLE NS_IMETHOD HandleStartDTD(const PRUnichar * aDoctypeName, const PRUnichar * aSysid, const PRUnichar * aPubid) { return _to HandleStartDTD(aDoctypeName, aSysid, aPubid); } \
60 : NS_SCRIPTABLE NS_IMETHOD HandleStartNamespaceDecl(const PRUnichar * aPrefix, const PRUnichar * aUri) { return _to HandleStartNamespaceDecl(aPrefix, aUri); } \
61 : NS_SCRIPTABLE NS_IMETHOD HandleEndNamespaceDecl(const PRUnichar * aPrefix) { return _to HandleEndNamespaceDecl(aPrefix); } \
62 : NS_SCRIPTABLE NS_IMETHOD HandleNotationDecl(const PRUnichar * aNotationName, const PRUnichar * aSysid, const PRUnichar * aPubid) { return _to HandleNotationDecl(aNotationName, aSysid, aPubid); } \
63 : NS_SCRIPTABLE NS_IMETHOD HandleUnparsedEntityDecl(const PRUnichar * aName, const PRUnichar * aSysid, const PRUnichar * aPubid, const PRUnichar * aNotationName) { return _to HandleUnparsedEntityDecl(aName, aSysid, aPubid, aNotationName); }
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_NSIEXTENDEDEXPATSINK(_to) \
67 : NS_SCRIPTABLE NS_IMETHOD HandleStartDTD(const PRUnichar * aDoctypeName, const PRUnichar * aSysid, const PRUnichar * aPubid) { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleStartDTD(aDoctypeName, aSysid, aPubid); } \
68 : NS_SCRIPTABLE NS_IMETHOD HandleStartNamespaceDecl(const PRUnichar * aPrefix, const PRUnichar * aUri) { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleStartNamespaceDecl(aPrefix, aUri); } \
69 : NS_SCRIPTABLE NS_IMETHOD HandleEndNamespaceDecl(const PRUnichar * aPrefix) { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleEndNamespaceDecl(aPrefix); } \
70 : NS_SCRIPTABLE NS_IMETHOD HandleNotationDecl(const PRUnichar * aNotationName, const PRUnichar * aSysid, const PRUnichar * aPubid) { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleNotationDecl(aNotationName, aSysid, aPubid); } \
71 : NS_SCRIPTABLE NS_IMETHOD HandleUnparsedEntityDecl(const PRUnichar * aName, const PRUnichar * aSysid, const PRUnichar * aPubid, const PRUnichar * aNotationName) { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleUnparsedEntityDecl(aName, aSysid, aPubid, aNotationName); }
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 nsExtendedExpatSink : public nsIExtendedExpatSink
78 : {
79 : public:
80 : NS_DECL_ISUPPORTS
81 : NS_DECL_NSIEXTENDEDEXPATSINK
82 :
83 : nsExtendedExpatSink();
84 :
85 : private:
86 : ~nsExtendedExpatSink();
87 :
88 : protected:
89 : /* additional members */
90 : };
91 :
92 : /* Implementation file */
93 : NS_IMPL_ISUPPORTS1(nsExtendedExpatSink, nsIExtendedExpatSink)
94 :
95 : nsExtendedExpatSink::nsExtendedExpatSink()
96 : {
97 : /* member initializers and constructor code */
98 : }
99 :
100 : nsExtendedExpatSink::~nsExtendedExpatSink()
101 : {
102 : /* destructor code */
103 : }
104 :
105 : /* void handleStartDTD (in wstring aDoctypeName, in wstring aSysid, in wstring aPubid); */
106 : NS_IMETHODIMP nsExtendedExpatSink::HandleStartDTD(const PRUnichar * aDoctypeName, const PRUnichar * aSysid, const PRUnichar * aPubid)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* void handleStartNamespaceDecl (in wstring aPrefix, in wstring aUri); */
112 : NS_IMETHODIMP nsExtendedExpatSink::HandleStartNamespaceDecl(const PRUnichar * aPrefix, const PRUnichar * aUri)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 :
117 : /* void handleEndNamespaceDecl (in wstring aPrefix); */
118 : NS_IMETHODIMP nsExtendedExpatSink::HandleEndNamespaceDecl(const PRUnichar * aPrefix)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 :
123 : /* void handleNotationDecl (in wstring aNotationName, in wstring aSysid, in wstring aPubid); */
124 : NS_IMETHODIMP nsExtendedExpatSink::HandleNotationDecl(const PRUnichar * aNotationName, const PRUnichar * aSysid, const PRUnichar * aPubid)
125 : {
126 : return NS_ERROR_NOT_IMPLEMENTED;
127 : }
128 :
129 : /* void handleUnparsedEntityDecl (in wstring aName, in wstring aSysid, in wstring aPubid, in wstring aNotationName); */
130 : NS_IMETHODIMP nsExtendedExpatSink::HandleUnparsedEntityDecl(const PRUnichar * aName, const PRUnichar * aSysid, const PRUnichar * aPubid, const PRUnichar * aNotationName)
131 : {
132 : return NS_ERROR_NOT_IMPLEMENTED;
133 : }
134 :
135 : /* End of implementation class template. */
136 : #endif
137 :
138 :
139 : #endif /* __gen_nsIExtendedExpatSink_h__ */
|