/usr/include/thunderbird/nsIDOMLocation.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 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMLocation.idl
*/
#ifndef __gen_nsIDOMLocation_h__
#define __gen_nsIDOMLocation_h__
#ifndef __gen_domstubs_h__
#include "domstubs.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: nsIDOMLocation */
#define NS_IDOMLOCATION_IID_STR "79de76e5-994e-4f6b-81aa-42d9adb6e67e"
#define NS_IDOMLOCATION_IID \
{0x79de76e5, 0x994e, 0x4f6b, \
{ 0x81, 0xaa, 0x42, 0xd9, 0xad, 0xb6, 0xe6, 0x7e }}
class NS_NO_VTABLE nsIDOMLocation : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMLOCATION_IID)
/* attribute DOMString hash; */
NS_IMETHOD GetHash(nsAString & aHash) = 0;
NS_IMETHOD SetHash(const nsAString & aHash) = 0;
/* attribute DOMString host; */
NS_IMETHOD GetHost(nsAString & aHost) = 0;
NS_IMETHOD SetHost(const nsAString & aHost) = 0;
/* attribute DOMString hostname; */
NS_IMETHOD GetHostname(nsAString & aHostname) = 0;
NS_IMETHOD SetHostname(const nsAString & aHostname) = 0;
/* attribute DOMString href; */
NS_IMETHOD GetHref(nsAString & aHref) = 0;
NS_IMETHOD SetHref(const nsAString & aHref) = 0;
/* attribute DOMString pathname; */
NS_IMETHOD GetPathname(nsAString & aPathname) = 0;
NS_IMETHOD SetPathname(const nsAString & aPathname) = 0;
/* attribute DOMString port; */
NS_IMETHOD GetPort(nsAString & aPort) = 0;
NS_IMETHOD SetPort(const nsAString & aPort) = 0;
/* attribute DOMString protocol; */
NS_IMETHOD GetProtocol(nsAString & aProtocol) = 0;
NS_IMETHOD SetProtocol(const nsAString & aProtocol) = 0;
/* attribute DOMString search; */
NS_IMETHOD GetSearch(nsAString & aSearch) = 0;
NS_IMETHOD SetSearch(const nsAString & aSearch) = 0;
/* readonly attribute DOMString origin; */
NS_IMETHOD GetOrigin(nsAString & aOrigin) = 0;
/* void reload ([optional] in boolean forceget); */
NS_IMETHOD Reload(bool forceget) = 0;
/* void replace (in DOMString url); */
NS_IMETHOD Replace(const nsAString & url) = 0;
/* void assign (in DOMString url); */
NS_IMETHOD Assign(const nsAString & url) = 0;
/* DOMString toString (); */
NS_IMETHOD ToString(nsAString & _retval) = 0;
/* nsIDOMLocation valueOf (); */
NS_IMETHOD ValueOf(nsIDOMLocation * *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMLocation, NS_IDOMLOCATION_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMLOCATION \
NS_IMETHOD GetHash(nsAString & aHash) override; \
NS_IMETHOD SetHash(const nsAString & aHash) override; \
NS_IMETHOD GetHost(nsAString & aHost) override; \
NS_IMETHOD SetHost(const nsAString & aHost) override; \
NS_IMETHOD GetHostname(nsAString & aHostname) override; \
NS_IMETHOD SetHostname(const nsAString & aHostname) override; \
NS_IMETHOD GetHref(nsAString & aHref) override; \
NS_IMETHOD SetHref(const nsAString & aHref) override; \
NS_IMETHOD GetPathname(nsAString & aPathname) override; \
NS_IMETHOD SetPathname(const nsAString & aPathname) override; \
NS_IMETHOD GetPort(nsAString & aPort) override; \
NS_IMETHOD SetPort(const nsAString & aPort) override; \
NS_IMETHOD GetProtocol(nsAString & aProtocol) override; \
NS_IMETHOD SetProtocol(const nsAString & aProtocol) override; \
NS_IMETHOD GetSearch(nsAString & aSearch) override; \
NS_IMETHOD SetSearch(const nsAString & aSearch) override; \
NS_IMETHOD GetOrigin(nsAString & aOrigin) override; \
NS_IMETHOD Reload(bool forceget) override; \
NS_IMETHOD Replace(const nsAString & url) override; \
NS_IMETHOD Assign(const nsAString & url) override; \
NS_IMETHOD ToString(nsAString & _retval) override; \
NS_IMETHOD ValueOf(nsIDOMLocation * *_retval) 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_NSIDOMLOCATION \
NS_METHOD GetHash(nsAString & aHash); \
NS_METHOD SetHash(const nsAString & aHash); \
NS_METHOD GetHost(nsAString & aHost); \
NS_METHOD SetHost(const nsAString & aHost); \
NS_METHOD GetHostname(nsAString & aHostname); \
NS_METHOD SetHostname(const nsAString & aHostname); \
NS_METHOD GetHref(nsAString & aHref); \
NS_METHOD SetHref(const nsAString & aHref); \
NS_METHOD GetPathname(nsAString & aPathname); \
NS_METHOD SetPathname(const nsAString & aPathname); \
NS_METHOD GetPort(nsAString & aPort); \
NS_METHOD SetPort(const nsAString & aPort); \
NS_METHOD GetProtocol(nsAString & aProtocol); \
NS_METHOD SetProtocol(const nsAString & aProtocol); \
NS_METHOD GetSearch(nsAString & aSearch); \
NS_METHOD SetSearch(const nsAString & aSearch); \
NS_METHOD GetOrigin(nsAString & aOrigin); \
NS_METHOD Reload(bool forceget); \
NS_METHOD Replace(const nsAString & url); \
NS_METHOD Assign(const nsAString & url); \
NS_METHOD ToString(nsAString & _retval); \
NS_METHOD ValueOf(nsIDOMLocation * *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMLOCATION(_to) \
NS_IMETHOD GetHash(nsAString & aHash) override { return _to GetHash(aHash); } \
NS_IMETHOD SetHash(const nsAString & aHash) override { return _to SetHash(aHash); } \
NS_IMETHOD GetHost(nsAString & aHost) override { return _to GetHost(aHost); } \
NS_IMETHOD SetHost(const nsAString & aHost) override { return _to SetHost(aHost); } \
NS_IMETHOD GetHostname(nsAString & aHostname) override { return _to GetHostname(aHostname); } \
NS_IMETHOD SetHostname(const nsAString & aHostname) override { return _to SetHostname(aHostname); } \
NS_IMETHOD GetHref(nsAString & aHref) override { return _to GetHref(aHref); } \
NS_IMETHOD SetHref(const nsAString & aHref) override { return _to SetHref(aHref); } \
NS_IMETHOD GetPathname(nsAString & aPathname) override { return _to GetPathname(aPathname); } \
NS_IMETHOD SetPathname(const nsAString & aPathname) override { return _to SetPathname(aPathname); } \
NS_IMETHOD GetPort(nsAString & aPort) override { return _to GetPort(aPort); } \
NS_IMETHOD SetPort(const nsAString & aPort) override { return _to SetPort(aPort); } \
NS_IMETHOD GetProtocol(nsAString & aProtocol) override { return _to GetProtocol(aProtocol); } \
NS_IMETHOD SetProtocol(const nsAString & aProtocol) override { return _to SetProtocol(aProtocol); } \
NS_IMETHOD GetSearch(nsAString & aSearch) override { return _to GetSearch(aSearch); } \
NS_IMETHOD SetSearch(const nsAString & aSearch) override { return _to SetSearch(aSearch); } \
NS_IMETHOD GetOrigin(nsAString & aOrigin) override { return _to GetOrigin(aOrigin); } \
NS_IMETHOD Reload(bool forceget) override { return _to Reload(forceget); } \
NS_IMETHOD Replace(const nsAString & url) override { return _to Replace(url); } \
NS_IMETHOD Assign(const nsAString & url) override { return _to Assign(url); } \
NS_IMETHOD ToString(nsAString & _retval) override { return _to ToString(_retval); } \
NS_IMETHOD ValueOf(nsIDOMLocation * *_retval) override { return _to ValueOf(_retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMLOCATION(_to) \
NS_IMETHOD GetHash(nsAString & aHash) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHash(aHash); } \
NS_IMETHOD SetHash(const nsAString & aHash) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHash(aHash); } \
NS_IMETHOD GetHost(nsAString & aHost) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHost(aHost); } \
NS_IMETHOD SetHost(const nsAString & aHost) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHost(aHost); } \
NS_IMETHOD GetHostname(nsAString & aHostname) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHostname(aHostname); } \
NS_IMETHOD SetHostname(const nsAString & aHostname) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHostname(aHostname); } \
NS_IMETHOD GetHref(nsAString & aHref) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHref(aHref); } \
NS_IMETHOD SetHref(const nsAString & aHref) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHref(aHref); } \
NS_IMETHOD GetPathname(nsAString & aPathname) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPathname(aPathname); } \
NS_IMETHOD SetPathname(const nsAString & aPathname) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPathname(aPathname); } \
NS_IMETHOD GetPort(nsAString & aPort) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPort(aPort); } \
NS_IMETHOD SetPort(const nsAString & aPort) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPort(aPort); } \
NS_IMETHOD GetProtocol(nsAString & aProtocol) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProtocol(aProtocol); } \
NS_IMETHOD SetProtocol(const nsAString & aProtocol) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProtocol(aProtocol); } \
NS_IMETHOD GetSearch(nsAString & aSearch) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearch(aSearch); } \
NS_IMETHOD SetSearch(const nsAString & aSearch) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearch(aSearch); } \
NS_IMETHOD GetOrigin(nsAString & aOrigin) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOrigin(aOrigin); } \
NS_IMETHOD Reload(bool forceget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Reload(forceget); } \
NS_IMETHOD Replace(const nsAString & url) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Replace(url); } \
NS_IMETHOD Assign(const nsAString & url) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Assign(url); } \
NS_IMETHOD ToString(nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
NS_IMETHOD ValueOf(nsIDOMLocation * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ValueOf(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMLocation : public nsIDOMLocation
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMLOCATION
nsDOMLocation();
private:
~nsDOMLocation();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMLocation, nsIDOMLocation)
nsDOMLocation::nsDOMLocation()
{
/* member initializers and constructor code */
}
nsDOMLocation::~nsDOMLocation()
{
/* destructor code */
}
/* attribute DOMString hash; */
NS_IMETHODIMP nsDOMLocation::GetHash(nsAString & aHash)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMLocation::SetHash(const nsAString & aHash)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString host; */
NS_IMETHODIMP nsDOMLocation::GetHost(nsAString & aHost)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMLocation::SetHost(const nsAString & aHost)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString hostname; */
NS_IMETHODIMP nsDOMLocation::GetHostname(nsAString & aHostname)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMLocation::SetHostname(const nsAString & aHostname)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString href; */
NS_IMETHODIMP nsDOMLocation::GetHref(nsAString & aHref)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMLocation::SetHref(const nsAString & aHref)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString pathname; */
NS_IMETHODIMP nsDOMLocation::GetPathname(nsAString & aPathname)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMLocation::SetPathname(const nsAString & aPathname)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString port; */
NS_IMETHODIMP nsDOMLocation::GetPort(nsAString & aPort)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMLocation::SetPort(const nsAString & aPort)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString protocol; */
NS_IMETHODIMP nsDOMLocation::GetProtocol(nsAString & aProtocol)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMLocation::SetProtocol(const nsAString & aProtocol)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString search; */
NS_IMETHODIMP nsDOMLocation::GetSearch(nsAString & aSearch)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMLocation::SetSearch(const nsAString & aSearch)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString origin; */
NS_IMETHODIMP nsDOMLocation::GetOrigin(nsAString & aOrigin)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void reload ([optional] in boolean forceget); */
NS_IMETHODIMP nsDOMLocation::Reload(bool forceget)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void replace (in DOMString url); */
NS_IMETHODIMP nsDOMLocation::Replace(const nsAString & url)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void assign (in DOMString url); */
NS_IMETHODIMP nsDOMLocation::Assign(const nsAString & url)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* DOMString toString (); */
NS_IMETHODIMP nsDOMLocation::ToString(nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMLocation valueOf (); */
NS_IMETHODIMP nsDOMLocation::ValueOf(nsIDOMLocation * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMLocation_h__ */
|