/usr/include/thunderbird/prplIRequest.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/prplIRequest.idl
*/
#ifndef __gen_prplIRequest_h__
#define __gen_prplIRequest_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 imIAccount; /* forward declaration */
class nsIDOMWindow; /* forward declaration */
class nsIWebProgress; /* forward declaration */
/* starting interface: prplIRequestBrowser */
#define PRPLIREQUESTBROWSER_IID_STR "b89dbb38-0de4-11e0-b3d0-0002e304243c"
#define PRPLIREQUESTBROWSER_IID \
{0xb89dbb38, 0x0de4, 0x11e0, \
{ 0xb3, 0xd0, 0x00, 0x02, 0xe3, 0x04, 0x24, 0x3c }}
class NS_NO_VTABLE prplIRequestBrowser : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(PRPLIREQUESTBROWSER_IID)
/* readonly attribute AUTF8String promptText; */
NS_IMETHOD GetPromptText(nsACString & aPromptText) = 0;
/* readonly attribute imIAccount account; */
NS_IMETHOD GetAccount(imIAccount * *aAccount) = 0;
/* readonly attribute AUTF8String url; */
NS_IMETHOD GetUrl(nsACString & aUrl) = 0;
/* void cancelled (); */
NS_IMETHOD Cancelled(void) = 0;
/* void loaded (in nsIDOMWindow aWindow, in nsIWebProgress aWebProgress); */
NS_IMETHOD Loaded(nsIDOMWindow *aWindow, nsIWebProgress *aWebProgress) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(prplIRequestBrowser, PRPLIREQUESTBROWSER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_PRPLIREQUESTBROWSER \
NS_IMETHOD GetPromptText(nsACString & aPromptText) override; \
NS_IMETHOD GetAccount(imIAccount * *aAccount) override; \
NS_IMETHOD GetUrl(nsACString & aUrl) override; \
NS_IMETHOD Cancelled(void) override; \
NS_IMETHOD Loaded(nsIDOMWindow *aWindow, nsIWebProgress *aWebProgress) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_PRPLIREQUESTBROWSER(_to) \
NS_IMETHOD GetPromptText(nsACString & aPromptText) override { return _to GetPromptText(aPromptText); } \
NS_IMETHOD GetAccount(imIAccount * *aAccount) override { return _to GetAccount(aAccount); } \
NS_IMETHOD GetUrl(nsACString & aUrl) override { return _to GetUrl(aUrl); } \
NS_IMETHOD Cancelled(void) override { return _to Cancelled(); } \
NS_IMETHOD Loaded(nsIDOMWindow *aWindow, nsIWebProgress *aWebProgress) override { return _to Loaded(aWindow, aWebProgress); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_PRPLIREQUESTBROWSER(_to) \
NS_IMETHOD GetPromptText(nsACString & aPromptText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPromptText(aPromptText); } \
NS_IMETHOD GetAccount(imIAccount * *aAccount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccount(aAccount); } \
NS_IMETHOD GetUrl(nsACString & aUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUrl(aUrl); } \
NS_IMETHOD Cancelled(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Cancelled(); } \
NS_IMETHOD Loaded(nsIDOMWindow *aWindow, nsIWebProgress *aWebProgress) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Loaded(aWindow, aWebProgress); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public prplIRequestBrowser
{
public:
NS_DECL_ISUPPORTS
NS_DECL_PRPLIREQUESTBROWSER
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, prplIRequestBrowser)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute AUTF8String promptText; */
NS_IMETHODIMP _MYCLASS_::GetPromptText(nsACString & aPromptText)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute imIAccount account; */
NS_IMETHODIMP _MYCLASS_::GetAccount(imIAccount * *aAccount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String url; */
NS_IMETHODIMP _MYCLASS_::GetUrl(nsACString & aUrl)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void cancelled (); */
NS_IMETHODIMP _MYCLASS_::Cancelled()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void loaded (in nsIDOMWindow aWindow, in nsIWebProgress aWebProgress); */
NS_IMETHODIMP _MYCLASS_::Loaded(nsIDOMWindow *aWindow, nsIWebProgress *aWebProgress)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: prplIBuddyRequest */
#define PRPLIBUDDYREQUEST_IID_STR "a55c1e24-17cc-4ddc-8c64-3bc315a3c3b1"
#define PRPLIBUDDYREQUEST_IID \
{0xa55c1e24, 0x17cc, 0x4ddc, \
{ 0x8c, 0x64, 0x3b, 0xc3, 0x15, 0xa3, 0xc3, 0xb1 }}
class NS_NO_VTABLE prplIBuddyRequest : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(PRPLIBUDDYREQUEST_IID)
/* readonly attribute imIAccount account; */
NS_IMETHOD GetAccount(imIAccount * *aAccount) = 0;
/* readonly attribute AUTF8String userName; */
NS_IMETHOD GetUserName(nsACString & aUserName) = 0;
/* void grant (); */
NS_IMETHOD Grant(void) = 0;
/* void deny (); */
NS_IMETHOD Deny(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(prplIBuddyRequest, PRPLIBUDDYREQUEST_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_PRPLIBUDDYREQUEST \
NS_IMETHOD GetAccount(imIAccount * *aAccount) override; \
NS_IMETHOD GetUserName(nsACString & aUserName) override; \
NS_IMETHOD Grant(void) override; \
NS_IMETHOD Deny(void) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_PRPLIBUDDYREQUEST(_to) \
NS_IMETHOD GetAccount(imIAccount * *aAccount) override { return _to GetAccount(aAccount); } \
NS_IMETHOD GetUserName(nsACString & aUserName) override { return _to GetUserName(aUserName); } \
NS_IMETHOD Grant(void) override { return _to Grant(); } \
NS_IMETHOD Deny(void) override { return _to Deny(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_PRPLIBUDDYREQUEST(_to) \
NS_IMETHOD GetAccount(imIAccount * *aAccount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccount(aAccount); } \
NS_IMETHOD GetUserName(nsACString & aUserName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserName(aUserName); } \
NS_IMETHOD Grant(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Grant(); } \
NS_IMETHOD Deny(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Deny(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public prplIBuddyRequest
{
public:
NS_DECL_ISUPPORTS
NS_DECL_PRPLIBUDDYREQUEST
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, prplIBuddyRequest)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute imIAccount account; */
NS_IMETHODIMP _MYCLASS_::GetAccount(imIAccount * *aAccount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String userName; */
NS_IMETHODIMP _MYCLASS_::GetUserName(nsACString & aUserName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void grant (); */
NS_IMETHODIMP _MYCLASS_::Grant()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void deny (); */
NS_IMETHODIMP _MYCLASS_::Deny()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_prplIRequest_h__ */
|