/usr/include/thunderbird-11.0.1/nsIExtendedExpatSink.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/parser/htmlparser/public/nsIExtendedExpatSink.idl
*/
#ifndef __gen_nsIExtendedExpatSink_h__
#define __gen_nsIExtendedExpatSink_h__
#ifndef __gen_nsIExpatSink_h__
#include "nsIExpatSink.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIExtendedExpatSink */
#define NS_IEXTENDEDEXPATSINK_IID_STR "146e194b-333d-4283-8cf6-4bc3ee9b5dff"
#define NS_IEXTENDEDEXPATSINK_IID \
{0x146e194b, 0x333d, 0x4283, \
{ 0x8c, 0xf6, 0x4b, 0xc3, 0xee, 0x9b, 0x5d, 0xff }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIExtendedExpatSink : public nsIExpatSink {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEXTENDEDEXPATSINK_IID)
/* void handleStartDTD (in wstring aDoctypeName, in wstring aSysid, in wstring aPubid); */
NS_SCRIPTABLE NS_IMETHOD HandleStartDTD(const PRUnichar * aDoctypeName, const PRUnichar * aSysid, const PRUnichar * aPubid) = 0;
/* void handleStartNamespaceDecl (in wstring aPrefix, in wstring aUri); */
NS_SCRIPTABLE NS_IMETHOD HandleStartNamespaceDecl(const PRUnichar * aPrefix, const PRUnichar * aUri) = 0;
/* void handleEndNamespaceDecl (in wstring aPrefix); */
NS_SCRIPTABLE NS_IMETHOD HandleEndNamespaceDecl(const PRUnichar * aPrefix) = 0;
/* void handleNotationDecl (in wstring aNotationName, in wstring aSysid, in wstring aPubid); */
NS_SCRIPTABLE NS_IMETHOD HandleNotationDecl(const PRUnichar * aNotationName, const PRUnichar * aSysid, const PRUnichar * aPubid) = 0;
/* void handleUnparsedEntityDecl (in wstring aName, in wstring aSysid, in wstring aPubid, in wstring aNotationName); */
NS_SCRIPTABLE NS_IMETHOD HandleUnparsedEntityDecl(const PRUnichar * aName, const PRUnichar * aSysid, const PRUnichar * aPubid, const PRUnichar * aNotationName) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIExtendedExpatSink, NS_IEXTENDEDEXPATSINK_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIEXTENDEDEXPATSINK \
NS_SCRIPTABLE NS_IMETHOD HandleStartDTD(const PRUnichar * aDoctypeName, const PRUnichar * aSysid, const PRUnichar * aPubid); \
NS_SCRIPTABLE NS_IMETHOD HandleStartNamespaceDecl(const PRUnichar * aPrefix, const PRUnichar * aUri); \
NS_SCRIPTABLE NS_IMETHOD HandleEndNamespaceDecl(const PRUnichar * aPrefix); \
NS_SCRIPTABLE NS_IMETHOD HandleNotationDecl(const PRUnichar * aNotationName, const PRUnichar * aSysid, const PRUnichar * aPubid); \
NS_SCRIPTABLE NS_IMETHOD HandleUnparsedEntityDecl(const PRUnichar * aName, const PRUnichar * aSysid, const PRUnichar * aPubid, const PRUnichar * aNotationName);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIEXTENDEDEXPATSINK(_to) \
NS_SCRIPTABLE NS_IMETHOD HandleStartDTD(const PRUnichar * aDoctypeName, const PRUnichar * aSysid, const PRUnichar * aPubid) { return _to HandleStartDTD(aDoctypeName, aSysid, aPubid); } \
NS_SCRIPTABLE NS_IMETHOD HandleStartNamespaceDecl(const PRUnichar * aPrefix, const PRUnichar * aUri) { return _to HandleStartNamespaceDecl(aPrefix, aUri); } \
NS_SCRIPTABLE NS_IMETHOD HandleEndNamespaceDecl(const PRUnichar * aPrefix) { return _to HandleEndNamespaceDecl(aPrefix); } \
NS_SCRIPTABLE NS_IMETHOD HandleNotationDecl(const PRUnichar * aNotationName, const PRUnichar * aSysid, const PRUnichar * aPubid) { return _to HandleNotationDecl(aNotationName, aSysid, aPubid); } \
NS_SCRIPTABLE NS_IMETHOD HandleUnparsedEntityDecl(const PRUnichar * aName, const PRUnichar * aSysid, const PRUnichar * aPubid, const PRUnichar * aNotationName) { return _to HandleUnparsedEntityDecl(aName, aSysid, aPubid, aNotationName); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIEXTENDEDEXPATSINK(_to) \
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); } \
NS_SCRIPTABLE NS_IMETHOD HandleStartNamespaceDecl(const PRUnichar * aPrefix, const PRUnichar * aUri) { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleStartNamespaceDecl(aPrefix, aUri); } \
NS_SCRIPTABLE NS_IMETHOD HandleEndNamespaceDecl(const PRUnichar * aPrefix) { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleEndNamespaceDecl(aPrefix); } \
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); } \
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); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsExtendedExpatSink : public nsIExtendedExpatSink
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIEXTENDEDEXPATSINK
nsExtendedExpatSink();
private:
~nsExtendedExpatSink();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsExtendedExpatSink, nsIExtendedExpatSink)
nsExtendedExpatSink::nsExtendedExpatSink()
{
/* member initializers and constructor code */
}
nsExtendedExpatSink::~nsExtendedExpatSink()
{
/* destructor code */
}
/* void handleStartDTD (in wstring aDoctypeName, in wstring aSysid, in wstring aPubid); */
NS_IMETHODIMP nsExtendedExpatSink::HandleStartDTD(const PRUnichar * aDoctypeName, const PRUnichar * aSysid, const PRUnichar * aPubid)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void handleStartNamespaceDecl (in wstring aPrefix, in wstring aUri); */
NS_IMETHODIMP nsExtendedExpatSink::HandleStartNamespaceDecl(const PRUnichar * aPrefix, const PRUnichar * aUri)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void handleEndNamespaceDecl (in wstring aPrefix); */
NS_IMETHODIMP nsExtendedExpatSink::HandleEndNamespaceDecl(const PRUnichar * aPrefix)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void handleNotationDecl (in wstring aNotationName, in wstring aSysid, in wstring aPubid); */
NS_IMETHODIMP nsExtendedExpatSink::HandleNotationDecl(const PRUnichar * aNotationName, const PRUnichar * aSysid, const PRUnichar * aPubid)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void handleUnparsedEntityDecl (in wstring aName, in wstring aSysid, in wstring aPubid, in wstring aNotationName); */
NS_IMETHODIMP nsExtendedExpatSink::HandleUnparsedEntityDecl(const PRUnichar * aName, const PRUnichar * aSysid, const PRUnichar * aPubid, const PRUnichar * aNotationName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIExtendedExpatSink_h__ */
|