/usr/include/thunderbird/nsILoadGroup.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.
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 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsILoadGroup.idl
*/
#ifndef __gen_nsILoadGroup_h__
#define __gen_nsILoadGroup_h__
#ifndef __gen_nsIRequest_h__
#include "nsIRequest.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsISimpleEnumerator; /* forward declaration */
class nsIRequestObserver; /* forward declaration */
class nsIInterfaceRequestor; /* forward declaration */
class nsILoadGroupConnectionInfo; /* forward declaration */
typedef uint32_t nsLoadFlags;
/* starting interface: nsILoadGroup */
#define NS_ILOADGROUP_IID_STR "afb57ac2-bce5-4ee3-bb34-385089a9ba5c"
#define NS_ILOADGROUP_IID \
{0xafb57ac2, 0xbce5, 0x4ee3, \
{ 0xbb, 0x34, 0x38, 0x50, 0x89, 0xa9, 0xba, 0x5c }}
class NS_NO_VTABLE nsILoadGroup : public nsIRequest {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILOADGROUP_IID)
/* attribute nsIRequestObserver groupObserver; */
NS_IMETHOD GetGroupObserver(nsIRequestObserver * *aGroupObserver) = 0;
NS_IMETHOD SetGroupObserver(nsIRequestObserver *aGroupObserver) = 0;
/* attribute nsIRequest defaultLoadRequest; */
NS_IMETHOD GetDefaultLoadRequest(nsIRequest * *aDefaultLoadRequest) = 0;
NS_IMETHOD SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest) = 0;
/* void addRequest (in nsIRequest aRequest, in nsISupports aContext); */
NS_IMETHOD AddRequest(nsIRequest *aRequest, nsISupports *aContext) = 0;
/* void removeRequest (in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatus); */
NS_IMETHOD RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus) = 0;
/* readonly attribute nsISimpleEnumerator requests; */
NS_IMETHOD GetRequests(nsISimpleEnumerator * *aRequests) = 0;
/* readonly attribute unsigned long activeCount; */
NS_IMETHOD GetActiveCount(uint32_t *aActiveCount) = 0;
/* attribute nsIInterfaceRequestor notificationCallbacks; */
NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) = 0;
NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) = 0;
/* readonly attribute nsILoadGroupConnectionInfo connectionInfo; */
NS_IMETHOD GetConnectionInfo(nsILoadGroupConnectionInfo * *aConnectionInfo) = 0;
/* attribute nsLoadFlags defaultLoadFlags; */
NS_IMETHOD GetDefaultLoadFlags(nsLoadFlags *aDefaultLoadFlags) = 0;
NS_IMETHOD SetDefaultLoadFlags(nsLoadFlags aDefaultLoadFlags) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsILoadGroup, NS_ILOADGROUP_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSILOADGROUP \
NS_IMETHOD GetGroupObserver(nsIRequestObserver * *aGroupObserver) override; \
NS_IMETHOD SetGroupObserver(nsIRequestObserver *aGroupObserver) override; \
NS_IMETHOD GetDefaultLoadRequest(nsIRequest * *aDefaultLoadRequest) override; \
NS_IMETHOD SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest) override; \
NS_IMETHOD AddRequest(nsIRequest *aRequest, nsISupports *aContext) override; \
NS_IMETHOD RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus) override; \
NS_IMETHOD GetRequests(nsISimpleEnumerator * *aRequests) override; \
NS_IMETHOD GetActiveCount(uint32_t *aActiveCount) override; \
NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) override; \
NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override; \
NS_IMETHOD GetConnectionInfo(nsILoadGroupConnectionInfo * *aConnectionInfo) override; \
NS_IMETHOD GetDefaultLoadFlags(nsLoadFlags *aDefaultLoadFlags) override; \
NS_IMETHOD SetDefaultLoadFlags(nsLoadFlags aDefaultLoadFlags) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSILOADGROUP(_to) \
NS_IMETHOD GetGroupObserver(nsIRequestObserver * *aGroupObserver) override { return _to GetGroupObserver(aGroupObserver); } \
NS_IMETHOD SetGroupObserver(nsIRequestObserver *aGroupObserver) override { return _to SetGroupObserver(aGroupObserver); } \
NS_IMETHOD GetDefaultLoadRequest(nsIRequest * *aDefaultLoadRequest) override { return _to GetDefaultLoadRequest(aDefaultLoadRequest); } \
NS_IMETHOD SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest) override { return _to SetDefaultLoadRequest(aDefaultLoadRequest); } \
NS_IMETHOD AddRequest(nsIRequest *aRequest, nsISupports *aContext) override { return _to AddRequest(aRequest, aContext); } \
NS_IMETHOD RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus) override { return _to RemoveRequest(aRequest, aContext, aStatus); } \
NS_IMETHOD GetRequests(nsISimpleEnumerator * *aRequests) override { return _to GetRequests(aRequests); } \
NS_IMETHOD GetActiveCount(uint32_t *aActiveCount) override { return _to GetActiveCount(aActiveCount); } \
NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) override { return _to GetNotificationCallbacks(aNotificationCallbacks); } \
NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override { return _to SetNotificationCallbacks(aNotificationCallbacks); } \
NS_IMETHOD GetConnectionInfo(nsILoadGroupConnectionInfo * *aConnectionInfo) override { return _to GetConnectionInfo(aConnectionInfo); } \
NS_IMETHOD GetDefaultLoadFlags(nsLoadFlags *aDefaultLoadFlags) override { return _to GetDefaultLoadFlags(aDefaultLoadFlags); } \
NS_IMETHOD SetDefaultLoadFlags(nsLoadFlags aDefaultLoadFlags) override { return _to SetDefaultLoadFlags(aDefaultLoadFlags); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSILOADGROUP(_to) \
NS_IMETHOD GetGroupObserver(nsIRequestObserver * *aGroupObserver) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGroupObserver(aGroupObserver); } \
NS_IMETHOD SetGroupObserver(nsIRequestObserver *aGroupObserver) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGroupObserver(aGroupObserver); } \
NS_IMETHOD GetDefaultLoadRequest(nsIRequest * *aDefaultLoadRequest) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultLoadRequest(aDefaultLoadRequest); } \
NS_IMETHOD SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultLoadRequest(aDefaultLoadRequest); } \
NS_IMETHOD AddRequest(nsIRequest *aRequest, nsISupports *aContext) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddRequest(aRequest, aContext); } \
NS_IMETHOD RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveRequest(aRequest, aContext, aStatus); } \
NS_IMETHOD GetRequests(nsISimpleEnumerator * *aRequests) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequests(aRequests); } \
NS_IMETHOD GetActiveCount(uint32_t *aActiveCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActiveCount(aActiveCount); } \
NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotificationCallbacks(aNotificationCallbacks); } \
NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNotificationCallbacks(aNotificationCallbacks); } \
NS_IMETHOD GetConnectionInfo(nsILoadGroupConnectionInfo * *aConnectionInfo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetConnectionInfo(aConnectionInfo); } \
NS_IMETHOD GetDefaultLoadFlags(nsLoadFlags *aDefaultLoadFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultLoadFlags(aDefaultLoadFlags); } \
NS_IMETHOD SetDefaultLoadFlags(nsLoadFlags aDefaultLoadFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultLoadFlags(aDefaultLoadFlags); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsLoadGroup : public nsILoadGroup
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSILOADGROUP
nsLoadGroup();
private:
~nsLoadGroup();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsLoadGroup, nsILoadGroup)
nsLoadGroup::nsLoadGroup()
{
/* member initializers and constructor code */
}
nsLoadGroup::~nsLoadGroup()
{
/* destructor code */
}
/* attribute nsIRequestObserver groupObserver; */
NS_IMETHODIMP nsLoadGroup::GetGroupObserver(nsIRequestObserver * *aGroupObserver)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsLoadGroup::SetGroupObserver(nsIRequestObserver *aGroupObserver)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIRequest defaultLoadRequest; */
NS_IMETHODIMP nsLoadGroup::GetDefaultLoadRequest(nsIRequest * *aDefaultLoadRequest)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsLoadGroup::SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addRequest (in nsIRequest aRequest, in nsISupports aContext); */
NS_IMETHODIMP nsLoadGroup::AddRequest(nsIRequest *aRequest, nsISupports *aContext)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeRequest (in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatus); */
NS_IMETHODIMP nsLoadGroup::RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISimpleEnumerator requests; */
NS_IMETHODIMP nsLoadGroup::GetRequests(nsISimpleEnumerator * *aRequests)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long activeCount; */
NS_IMETHODIMP nsLoadGroup::GetActiveCount(uint32_t *aActiveCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIInterfaceRequestor notificationCallbacks; */
NS_IMETHODIMP nsLoadGroup::GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsLoadGroup::SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsILoadGroupConnectionInfo connectionInfo; */
NS_IMETHODIMP nsLoadGroup::GetConnectionInfo(nsILoadGroupConnectionInfo * *aConnectionInfo)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsLoadFlags defaultLoadFlags; */
NS_IMETHODIMP nsLoadGroup::GetDefaultLoadFlags(nsLoadFlags *aDefaultLoadFlags)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsLoadGroup::SetDefaultLoadFlags(nsLoadFlags aDefaultLoadFlags)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
// Forward-declare mozilla::net::SpdyPushCache
namespace mozilla {
namespace net {
class SpdyPushCache;
}
}
/* starting interface: nsILoadGroupConnectionInfo */
#define NS_ILOADGROUPCONNECTIONINFO_IID_STR "fdc9659c-b597-4ac0-9c9e-14b04dbb682f"
#define NS_ILOADGROUPCONNECTIONINFO_IID \
{0xfdc9659c, 0xb597, 0x4ac0, \
{ 0x9c, 0x9e, 0x14, 0xb0, 0x4d, 0xbb, 0x68, 0x2f }}
class NS_NO_VTABLE nsILoadGroupConnectionInfo : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILOADGROUPCONNECTIONINFO_IID)
/* readonly attribute unsigned long blockingTransactionCount; */
NS_IMETHOD GetBlockingTransactionCount(uint32_t *aBlockingTransactionCount) = 0;
/* void addBlockingTransaction (); */
NS_IMETHOD AddBlockingTransaction(void) = 0;
/* unsigned long removeBlockingTransaction (); */
NS_IMETHOD RemoveBlockingTransaction(uint32_t *_retval) = 0;
/* [noscript] attribute SpdyPushCachePtr spdyPushCache; */
NS_IMETHOD GetSpdyPushCache(mozilla::net::SpdyPushCache **aSpdyPushCache) = 0;
NS_IMETHOD SetSpdyPushCache(mozilla::net::SpdyPushCache *aSpdyPushCache) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsILoadGroupConnectionInfo, NS_ILOADGROUPCONNECTIONINFO_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSILOADGROUPCONNECTIONINFO \
NS_IMETHOD GetBlockingTransactionCount(uint32_t *aBlockingTransactionCount) override; \
NS_IMETHOD AddBlockingTransaction(void) override; \
NS_IMETHOD RemoveBlockingTransaction(uint32_t *_retval) override; \
NS_IMETHOD GetSpdyPushCache(mozilla::net::SpdyPushCache **aSpdyPushCache) override; \
NS_IMETHOD SetSpdyPushCache(mozilla::net::SpdyPushCache *aSpdyPushCache) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSILOADGROUPCONNECTIONINFO(_to) \
NS_IMETHOD GetBlockingTransactionCount(uint32_t *aBlockingTransactionCount) override { return _to GetBlockingTransactionCount(aBlockingTransactionCount); } \
NS_IMETHOD AddBlockingTransaction(void) override { return _to AddBlockingTransaction(); } \
NS_IMETHOD RemoveBlockingTransaction(uint32_t *_retval) override { return _to RemoveBlockingTransaction(_retval); } \
NS_IMETHOD GetSpdyPushCache(mozilla::net::SpdyPushCache **aSpdyPushCache) override { return _to GetSpdyPushCache(aSpdyPushCache); } \
NS_IMETHOD SetSpdyPushCache(mozilla::net::SpdyPushCache *aSpdyPushCache) override { return _to SetSpdyPushCache(aSpdyPushCache); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSILOADGROUPCONNECTIONINFO(_to) \
NS_IMETHOD GetBlockingTransactionCount(uint32_t *aBlockingTransactionCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBlockingTransactionCount(aBlockingTransactionCount); } \
NS_IMETHOD AddBlockingTransaction(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddBlockingTransaction(); } \
NS_IMETHOD RemoveBlockingTransaction(uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveBlockingTransaction(_retval); } \
NS_IMETHOD GetSpdyPushCache(mozilla::net::SpdyPushCache **aSpdyPushCache) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSpdyPushCache(aSpdyPushCache); } \
NS_IMETHOD SetSpdyPushCache(mozilla::net::SpdyPushCache *aSpdyPushCache) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSpdyPushCache(aSpdyPushCache); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsLoadGroupConnectionInfo : public nsILoadGroupConnectionInfo
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSILOADGROUPCONNECTIONINFO
nsLoadGroupConnectionInfo();
private:
~nsLoadGroupConnectionInfo();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsLoadGroupConnectionInfo, nsILoadGroupConnectionInfo)
nsLoadGroupConnectionInfo::nsLoadGroupConnectionInfo()
{
/* member initializers and constructor code */
}
nsLoadGroupConnectionInfo::~nsLoadGroupConnectionInfo()
{
/* destructor code */
}
/* readonly attribute unsigned long blockingTransactionCount; */
NS_IMETHODIMP nsLoadGroupConnectionInfo::GetBlockingTransactionCount(uint32_t *aBlockingTransactionCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addBlockingTransaction (); */
NS_IMETHODIMP nsLoadGroupConnectionInfo::AddBlockingTransaction()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long removeBlockingTransaction (); */
NS_IMETHODIMP nsLoadGroupConnectionInfo::RemoveBlockingTransaction(uint32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] attribute SpdyPushCachePtr spdyPushCache; */
NS_IMETHODIMP nsLoadGroupConnectionInfo::GetSpdyPushCache(mozilla::net::SpdyPushCache **aSpdyPushCache)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsLoadGroupConnectionInfo::SetSpdyPushCache(mozilla::net::SpdyPushCache *aSpdyPushCache)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsILoadGroup_h__ */
|