/usr/include/thunderbird-11.0.1/nsIXMLContentBuilder.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 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 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/content/xtf/public/nsIXMLContentBuilder.idl
*/
#ifndef __gen_nsIXMLContentBuilder_h__
#define __gen_nsIXMLContentBuilder_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
class nsIDOMElement; /* forward declaration */
class nsIDOMDocument; /* forward declaration */
/* starting interface: nsIXMLContentBuilder */
#define NS_IXMLCONTENTBUILDER_IID_STR "e9c4cd4f-cd41-43d0-bf3b-48abb9cde90f"
#define NS_IXMLCONTENTBUILDER_IID \
{0xe9c4cd4f, 0xcd41, 0x43d0, \
{ 0xbf, 0x3b, 0x48, 0xab, 0xb9, 0xcd, 0xe9, 0x0f }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIXMLContentBuilder : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXMLCONTENTBUILDER_IID)
/* void clear (in nsIDOMElement root); */
NS_SCRIPTABLE NS_IMETHOD Clear(nsIDOMElement *root) = 0;
/* void setDocument (in nsIDOMDocument doc); */
NS_SCRIPTABLE NS_IMETHOD SetDocument(nsIDOMDocument *doc) = 0;
/* void setElementNamespace (in AString ns); */
NS_SCRIPTABLE NS_IMETHOD SetElementNamespace(const nsAString & ns) = 0;
/* void beginElement (in AString tagname); */
NS_SCRIPTABLE NS_IMETHOD BeginElement(const nsAString & tagname) = 0;
/* void endElement (); */
NS_SCRIPTABLE NS_IMETHOD EndElement(void) = 0;
/* void attrib (in AString name, in AString value); */
NS_SCRIPTABLE NS_IMETHOD Attrib(const nsAString & name, const nsAString & value) = 0;
/* void textNode (in AString text); */
NS_SCRIPTABLE NS_IMETHOD TextNode(const nsAString & text) = 0;
/* readonly attribute nsIDOMElement root; */
NS_SCRIPTABLE NS_IMETHOD GetRoot(nsIDOMElement * *aRoot) = 0;
/* readonly attribute nsIDOMElement current; */
NS_SCRIPTABLE NS_IMETHOD GetCurrent(nsIDOMElement * *aCurrent) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIXMLContentBuilder, NS_IXMLCONTENTBUILDER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIXMLCONTENTBUILDER \
NS_SCRIPTABLE NS_IMETHOD Clear(nsIDOMElement *root); \
NS_SCRIPTABLE NS_IMETHOD SetDocument(nsIDOMDocument *doc); \
NS_SCRIPTABLE NS_IMETHOD SetElementNamespace(const nsAString & ns); \
NS_SCRIPTABLE NS_IMETHOD BeginElement(const nsAString & tagname); \
NS_SCRIPTABLE NS_IMETHOD EndElement(void); \
NS_SCRIPTABLE NS_IMETHOD Attrib(const nsAString & name, const nsAString & value); \
NS_SCRIPTABLE NS_IMETHOD TextNode(const nsAString & text); \
NS_SCRIPTABLE NS_IMETHOD GetRoot(nsIDOMElement * *aRoot); \
NS_SCRIPTABLE NS_IMETHOD GetCurrent(nsIDOMElement * *aCurrent);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIXMLCONTENTBUILDER(_to) \
NS_SCRIPTABLE NS_IMETHOD Clear(nsIDOMElement *root) { return _to Clear(root); } \
NS_SCRIPTABLE NS_IMETHOD SetDocument(nsIDOMDocument *doc) { return _to SetDocument(doc); } \
NS_SCRIPTABLE NS_IMETHOD SetElementNamespace(const nsAString & ns) { return _to SetElementNamespace(ns); } \
NS_SCRIPTABLE NS_IMETHOD BeginElement(const nsAString & tagname) { return _to BeginElement(tagname); } \
NS_SCRIPTABLE NS_IMETHOD EndElement(void) { return _to EndElement(); } \
NS_SCRIPTABLE NS_IMETHOD Attrib(const nsAString & name, const nsAString & value) { return _to Attrib(name, value); } \
NS_SCRIPTABLE NS_IMETHOD TextNode(const nsAString & text) { return _to TextNode(text); } \
NS_SCRIPTABLE NS_IMETHOD GetRoot(nsIDOMElement * *aRoot) { return _to GetRoot(aRoot); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrent(nsIDOMElement * *aCurrent) { return _to GetCurrent(aCurrent); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIXMLCONTENTBUILDER(_to) \
NS_SCRIPTABLE NS_IMETHOD Clear(nsIDOMElement *root) { return !_to ? NS_ERROR_NULL_POINTER : _to->Clear(root); } \
NS_SCRIPTABLE NS_IMETHOD SetDocument(nsIDOMDocument *doc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocument(doc); } \
NS_SCRIPTABLE NS_IMETHOD SetElementNamespace(const nsAString & ns) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetElementNamespace(ns); } \
NS_SCRIPTABLE NS_IMETHOD BeginElement(const nsAString & tagname) { return !_to ? NS_ERROR_NULL_POINTER : _to->BeginElement(tagname); } \
NS_SCRIPTABLE NS_IMETHOD EndElement(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->EndElement(); } \
NS_SCRIPTABLE NS_IMETHOD Attrib(const nsAString & name, const nsAString & value) { return !_to ? NS_ERROR_NULL_POINTER : _to->Attrib(name, value); } \
NS_SCRIPTABLE NS_IMETHOD TextNode(const nsAString & text) { return !_to ? NS_ERROR_NULL_POINTER : _to->TextNode(text); } \
NS_SCRIPTABLE NS_IMETHOD GetRoot(nsIDOMElement * *aRoot) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRoot(aRoot); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrent(nsIDOMElement * *aCurrent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrent(aCurrent); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsXMLContentBuilder : public nsIXMLContentBuilder
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIXMLCONTENTBUILDER
nsXMLContentBuilder();
private:
~nsXMLContentBuilder();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsXMLContentBuilder, nsIXMLContentBuilder)
nsXMLContentBuilder::nsXMLContentBuilder()
{
/* member initializers and constructor code */
}
nsXMLContentBuilder::~nsXMLContentBuilder()
{
/* destructor code */
}
/* void clear (in nsIDOMElement root); */
NS_IMETHODIMP nsXMLContentBuilder::Clear(nsIDOMElement *root)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setDocument (in nsIDOMDocument doc); */
NS_IMETHODIMP nsXMLContentBuilder::SetDocument(nsIDOMDocument *doc)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setElementNamespace (in AString ns); */
NS_IMETHODIMP nsXMLContentBuilder::SetElementNamespace(const nsAString & ns)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void beginElement (in AString tagname); */
NS_IMETHODIMP nsXMLContentBuilder::BeginElement(const nsAString & tagname)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void endElement (); */
NS_IMETHODIMP nsXMLContentBuilder::EndElement()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void attrib (in AString name, in AString value); */
NS_IMETHODIMP nsXMLContentBuilder::Attrib(const nsAString & name, const nsAString & value)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void textNode (in AString text); */
NS_IMETHODIMP nsXMLContentBuilder::TextNode(const nsAString & text)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMElement root; */
NS_IMETHODIMP nsXMLContentBuilder::GetRoot(nsIDOMElement * *aRoot)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMElement current; */
NS_IMETHODIMP nsXMLContentBuilder::GetCurrent(nsIDOMElement * *aCurrent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
// {E09AF32D-2A54-4D76-9EF0-3070E83F8BE7}
#define NS_XMLCONTENTBUILDER_CID \
{ 0xe09af32d, 0x2a54, 0x4d76, { 0x9e, 0xf0, 0x30, 0x70, 0xe8, 0x3f, 0x8b, 0xe7 } }
#define NS_XMLCONTENTBUILDER_CONTRACTID "@mozilla.org/xtf/xml-contentbuilder;1"
nsresult NS_NewXMLContentBuilder(nsIXMLContentBuilder** aResult);
#endif /* __gen_nsIXMLContentBuilder_h__ */
|