/usr/include/thunderbird/nsISAXLexicalHandler.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
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 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsISAXLexicalHandler.idl
*/
#ifndef __gen_nsISAXLexicalHandler_h__
#define __gen_nsISAXLexicalHandler_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.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: nsISAXLexicalHandler */
#define NS_ISAXLEXICALHANDLER_IID_STR "23c26a56-adff-440c-8caf-95c2dc2e399b"
#define NS_ISAXLEXICALHANDLER_IID \
{0x23c26a56, 0xadff, 0x440c, \
{ 0x8c, 0xaf, 0x95, 0xc2, 0xdc, 0x2e, 0x39, 0x9b }}
class NS_NO_VTABLE nsISAXLexicalHandler : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISAXLEXICALHANDLER_IID)
/* void comment (in AString chars); */
NS_IMETHOD Comment(const nsAString & chars) = 0;
/* void startDTD (in AString name, in AString publicId, in AString systemId); */
NS_IMETHOD StartDTD(const nsAString & name, const nsAString & publicId, const nsAString & systemId) = 0;
/* void endDTD (); */
NS_IMETHOD EndDTD(void) = 0;
/* void startCDATA (); */
NS_IMETHOD StartCDATA(void) = 0;
/* void endCDATA (); */
NS_IMETHOD EndCDATA(void) = 0;
/* void startEntity (in AString name); */
NS_IMETHOD StartEntity(const nsAString & name) = 0;
/* void endEntity (in AString name); */
NS_IMETHOD EndEntity(const nsAString & name) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsISAXLexicalHandler, NS_ISAXLEXICALHANDLER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISAXLEXICALHANDLER \
NS_IMETHOD Comment(const nsAString & chars) override; \
NS_IMETHOD StartDTD(const nsAString & name, const nsAString & publicId, const nsAString & systemId) override; \
NS_IMETHOD EndDTD(void) override; \
NS_IMETHOD StartCDATA(void) override; \
NS_IMETHOD EndCDATA(void) override; \
NS_IMETHOD StartEntity(const nsAString & name) override; \
NS_IMETHOD EndEntity(const nsAString & name) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSISAXLEXICALHANDLER \
NS_METHOD Comment(const nsAString & chars); \
NS_METHOD StartDTD(const nsAString & name, const nsAString & publicId, const nsAString & systemId); \
NS_METHOD EndDTD(void); \
NS_METHOD StartCDATA(void); \
NS_METHOD EndCDATA(void); \
NS_METHOD StartEntity(const nsAString & name); \
NS_METHOD EndEntity(const nsAString & name);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISAXLEXICALHANDLER(_to) \
NS_IMETHOD Comment(const nsAString & chars) override { return _to Comment(chars); } \
NS_IMETHOD StartDTD(const nsAString & name, const nsAString & publicId, const nsAString & systemId) override { return _to StartDTD(name, publicId, systemId); } \
NS_IMETHOD EndDTD(void) override { return _to EndDTD(); } \
NS_IMETHOD StartCDATA(void) override { return _to StartCDATA(); } \
NS_IMETHOD EndCDATA(void) override { return _to EndCDATA(); } \
NS_IMETHOD StartEntity(const nsAString & name) override { return _to StartEntity(name); } \
NS_IMETHOD EndEntity(const nsAString & name) override { return _to EndEntity(name); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISAXLEXICALHANDLER(_to) \
NS_IMETHOD Comment(const nsAString & chars) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Comment(chars); } \
NS_IMETHOD StartDTD(const nsAString & name, const nsAString & publicId, const nsAString & systemId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StartDTD(name, publicId, systemId); } \
NS_IMETHOD EndDTD(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EndDTD(); } \
NS_IMETHOD StartCDATA(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StartCDATA(); } \
NS_IMETHOD EndCDATA(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EndCDATA(); } \
NS_IMETHOD StartEntity(const nsAString & name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StartEntity(name); } \
NS_IMETHOD EndEntity(const nsAString & name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EndEntity(name); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsSAXLexicalHandler : public nsISAXLexicalHandler
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISAXLEXICALHANDLER
nsSAXLexicalHandler();
private:
~nsSAXLexicalHandler();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsSAXLexicalHandler, nsISAXLexicalHandler)
nsSAXLexicalHandler::nsSAXLexicalHandler()
{
/* member initializers and constructor code */
}
nsSAXLexicalHandler::~nsSAXLexicalHandler()
{
/* destructor code */
}
/* void comment (in AString chars); */
NS_IMETHODIMP nsSAXLexicalHandler::Comment(const nsAString & chars)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void startDTD (in AString name, in AString publicId, in AString systemId); */
NS_IMETHODIMP nsSAXLexicalHandler::StartDTD(const nsAString & name, const nsAString & publicId, const nsAString & systemId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void endDTD (); */
NS_IMETHODIMP nsSAXLexicalHandler::EndDTD()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void startCDATA (); */
NS_IMETHODIMP nsSAXLexicalHandler::StartCDATA()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void endCDATA (); */
NS_IMETHODIMP nsSAXLexicalHandler::EndCDATA()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void startEntity (in AString name); */
NS_IMETHODIMP nsSAXLexicalHandler::StartEntity(const nsAString & name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void endEntity (in AString name); */
NS_IMETHODIMP nsSAXLexicalHandler::EndEntity(const nsAString & name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsISAXLexicalHandler_h__ */
|