/usr/include/thunderbird/prplIMessage.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 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/prplIMessage.idl
*/
#ifndef __gen_prplIMessage_h__
#define __gen_prplIMessage_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsIRunnable_h__
#include "nsIRunnable.h"
#endif
#ifndef __gen_prplIConversation_h__
#include "prplIConversation.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: prplIMessageAction */
#define PRPLIMESSAGEACTION_IID_STR "7e470f0e-d948-4d9a-b8dc-4beecf6554b9"
#define PRPLIMESSAGEACTION_IID \
{0x7e470f0e, 0xd948, 0x4d9a, \
{ 0xb8, 0xdc, 0x4b, 0xee, 0xcf, 0x65, 0x54, 0xb9 }}
class NS_NO_VTABLE prplIMessageAction : public nsIRunnable {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(PRPLIMESSAGEACTION_IID)
/* readonly attribute AUTF8String label; */
NS_IMETHOD GetLabel(nsACString & aLabel) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(prplIMessageAction, PRPLIMESSAGEACTION_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_PRPLIMESSAGEACTION \
NS_IMETHOD GetLabel(nsACString & aLabel) 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_PRPLIMESSAGEACTION \
NS_METHOD GetLabel(nsACString & aLabel);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_PRPLIMESSAGEACTION(_to) \
NS_IMETHOD GetLabel(nsACString & aLabel) override { return _to GetLabel(aLabel); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_PRPLIMESSAGEACTION(_to) \
NS_IMETHOD GetLabel(nsACString & aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public prplIMessageAction
{
public:
NS_DECL_ISUPPORTS
NS_DECL_PRPLIMESSAGEACTION
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, prplIMessageAction)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute AUTF8String label; */
NS_IMETHODIMP _MYCLASS_::GetLabel(nsACString & aLabel)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: prplIMessage */
#define PRPLIMESSAGE_IID_STR "d6accb66-cdd2-4a91-8854-1156e65d5a43"
#define PRPLIMESSAGE_IID \
{0xd6accb66, 0xcdd2, 0x4a91, \
{ 0x88, 0x54, 0x11, 0x56, 0xe6, 0x5d, 0x5a, 0x43 }}
class NS_NO_VTABLE prplIMessage : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(PRPLIMESSAGE_IID)
/* readonly attribute unsigned long id; */
NS_IMETHOD GetId(uint32_t *aId) = 0;
/* readonly attribute AUTF8String who; */
NS_IMETHOD GetWho(nsACString & aWho) = 0;
/* readonly attribute AUTF8String alias; */
NS_IMETHOD GetAlias(nsACString & aAlias) = 0;
/* readonly attribute AUTF8String originalMessage; */
NS_IMETHOD GetOriginalMessage(nsACString & aOriginalMessage) = 0;
/* attribute AUTF8String message; */
NS_IMETHOD GetMessage(nsACString & aMessage) = 0;
NS_IMETHOD SetMessage(const nsACString & aMessage) = 0;
/* readonly attribute AUTF8String iconURL; */
NS_IMETHOD GetIconURL(nsACString & aIconURL) = 0;
/* readonly attribute PRTime time; */
NS_IMETHOD GetTime(PRTime *aTime) = 0;
/* readonly attribute prplIConversation conversation; */
NS_IMETHOD GetConversation(prplIConversation * *aConversation) = 0;
/* readonly attribute boolean outgoing; */
NS_IMETHOD GetOutgoing(bool *aOutgoing) = 0;
/* readonly attribute boolean incoming; */
NS_IMETHOD GetIncoming(bool *aIncoming) = 0;
/* readonly attribute boolean system; */
NS_IMETHOD GetSystem(bool *aSystem) = 0;
/* readonly attribute boolean autoResponse; */
NS_IMETHOD GetAutoResponse(bool *aAutoResponse) = 0;
/* readonly attribute boolean containsNick; */
NS_IMETHOD GetContainsNick(bool *aContainsNick) = 0;
/* readonly attribute boolean noLog; */
NS_IMETHOD GetNoLog(bool *aNoLog) = 0;
/* readonly attribute boolean error; */
NS_IMETHOD GetError(bool *aError) = 0;
/* readonly attribute boolean delayed; */
NS_IMETHOD GetDelayed(bool *aDelayed) = 0;
/* readonly attribute boolean noFormat; */
NS_IMETHOD GetNoFormat(bool *aNoFormat) = 0;
/* readonly attribute boolean containsImages; */
NS_IMETHOD GetContainsImages(bool *aContainsImages) = 0;
/* readonly attribute boolean notification; */
NS_IMETHOD GetNotification(bool *aNotification) = 0;
/* readonly attribute boolean noLinkification; */
NS_IMETHOD GetNoLinkification(bool *aNoLinkification) = 0;
/* void getActions ([optional] out unsigned long actionCount, [array, size_is (actionCount), retval] out prplIMessageAction actions); */
NS_IMETHOD GetActions(uint32_t *actionCount, prplIMessageAction * **actions) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(prplIMessage, PRPLIMESSAGE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_PRPLIMESSAGE \
NS_IMETHOD GetId(uint32_t *aId) override; \
NS_IMETHOD GetWho(nsACString & aWho) override; \
NS_IMETHOD GetAlias(nsACString & aAlias) override; \
NS_IMETHOD GetOriginalMessage(nsACString & aOriginalMessage) override; \
NS_IMETHOD GetMessage(nsACString & aMessage) override; \
NS_IMETHOD SetMessage(const nsACString & aMessage) override; \
NS_IMETHOD GetIconURL(nsACString & aIconURL) override; \
NS_IMETHOD GetTime(PRTime *aTime) override; \
NS_IMETHOD GetConversation(prplIConversation * *aConversation) override; \
NS_IMETHOD GetOutgoing(bool *aOutgoing) override; \
NS_IMETHOD GetIncoming(bool *aIncoming) override; \
NS_IMETHOD GetSystem(bool *aSystem) override; \
NS_IMETHOD GetAutoResponse(bool *aAutoResponse) override; \
NS_IMETHOD GetContainsNick(bool *aContainsNick) override; \
NS_IMETHOD GetNoLog(bool *aNoLog) override; \
NS_IMETHOD GetError(bool *aError) override; \
NS_IMETHOD GetDelayed(bool *aDelayed) override; \
NS_IMETHOD GetNoFormat(bool *aNoFormat) override; \
NS_IMETHOD GetContainsImages(bool *aContainsImages) override; \
NS_IMETHOD GetNotification(bool *aNotification) override; \
NS_IMETHOD GetNoLinkification(bool *aNoLinkification) override; \
NS_IMETHOD GetActions(uint32_t *actionCount, prplIMessageAction * **actions) 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_PRPLIMESSAGE \
NS_METHOD GetId(uint32_t *aId); \
NS_METHOD GetWho(nsACString & aWho); \
NS_METHOD GetAlias(nsACString & aAlias); \
NS_METHOD GetOriginalMessage(nsACString & aOriginalMessage); \
NS_METHOD GetMessage(nsACString & aMessage); \
NS_METHOD SetMessage(const nsACString & aMessage); \
NS_METHOD GetIconURL(nsACString & aIconURL); \
NS_METHOD GetTime(PRTime *aTime); \
NS_METHOD GetConversation(prplIConversation * *aConversation); \
NS_METHOD GetOutgoing(bool *aOutgoing); \
NS_METHOD GetIncoming(bool *aIncoming); \
NS_METHOD GetSystem(bool *aSystem); \
NS_METHOD GetAutoResponse(bool *aAutoResponse); \
NS_METHOD GetContainsNick(bool *aContainsNick); \
NS_METHOD GetNoLog(bool *aNoLog); \
NS_METHOD GetError(bool *aError); \
NS_METHOD GetDelayed(bool *aDelayed); \
NS_METHOD GetNoFormat(bool *aNoFormat); \
NS_METHOD GetContainsImages(bool *aContainsImages); \
NS_METHOD GetNotification(bool *aNotification); \
NS_METHOD GetNoLinkification(bool *aNoLinkification); \
NS_METHOD GetActions(uint32_t *actionCount, prplIMessageAction * **actions);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_PRPLIMESSAGE(_to) \
NS_IMETHOD GetId(uint32_t *aId) override { return _to GetId(aId); } \
NS_IMETHOD GetWho(nsACString & aWho) override { return _to GetWho(aWho); } \
NS_IMETHOD GetAlias(nsACString & aAlias) override { return _to GetAlias(aAlias); } \
NS_IMETHOD GetOriginalMessage(nsACString & aOriginalMessage) override { return _to GetOriginalMessage(aOriginalMessage); } \
NS_IMETHOD GetMessage(nsACString & aMessage) override { return _to GetMessage(aMessage); } \
NS_IMETHOD SetMessage(const nsACString & aMessage) override { return _to SetMessage(aMessage); } \
NS_IMETHOD GetIconURL(nsACString & aIconURL) override { return _to GetIconURL(aIconURL); } \
NS_IMETHOD GetTime(PRTime *aTime) override { return _to GetTime(aTime); } \
NS_IMETHOD GetConversation(prplIConversation * *aConversation) override { return _to GetConversation(aConversation); } \
NS_IMETHOD GetOutgoing(bool *aOutgoing) override { return _to GetOutgoing(aOutgoing); } \
NS_IMETHOD GetIncoming(bool *aIncoming) override { return _to GetIncoming(aIncoming); } \
NS_IMETHOD GetSystem(bool *aSystem) override { return _to GetSystem(aSystem); } \
NS_IMETHOD GetAutoResponse(bool *aAutoResponse) override { return _to GetAutoResponse(aAutoResponse); } \
NS_IMETHOD GetContainsNick(bool *aContainsNick) override { return _to GetContainsNick(aContainsNick); } \
NS_IMETHOD GetNoLog(bool *aNoLog) override { return _to GetNoLog(aNoLog); } \
NS_IMETHOD GetError(bool *aError) override { return _to GetError(aError); } \
NS_IMETHOD GetDelayed(bool *aDelayed) override { return _to GetDelayed(aDelayed); } \
NS_IMETHOD GetNoFormat(bool *aNoFormat) override { return _to GetNoFormat(aNoFormat); } \
NS_IMETHOD GetContainsImages(bool *aContainsImages) override { return _to GetContainsImages(aContainsImages); } \
NS_IMETHOD GetNotification(bool *aNotification) override { return _to GetNotification(aNotification); } \
NS_IMETHOD GetNoLinkification(bool *aNoLinkification) override { return _to GetNoLinkification(aNoLinkification); } \
NS_IMETHOD GetActions(uint32_t *actionCount, prplIMessageAction * **actions) override { return _to GetActions(actionCount, actions); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_PRPLIMESSAGE(_to) \
NS_IMETHOD GetId(uint32_t *aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
NS_IMETHOD GetWho(nsACString & aWho) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWho(aWho); } \
NS_IMETHOD GetAlias(nsACString & aAlias) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlias(aAlias); } \
NS_IMETHOD GetOriginalMessage(nsACString & aOriginalMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOriginalMessage(aOriginalMessage); } \
NS_IMETHOD GetMessage(nsACString & aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessage(aMessage); } \
NS_IMETHOD SetMessage(const nsACString & aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMessage(aMessage); } \
NS_IMETHOD GetIconURL(nsACString & aIconURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIconURL(aIconURL); } \
NS_IMETHOD GetTime(PRTime *aTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTime(aTime); } \
NS_IMETHOD GetConversation(prplIConversation * *aConversation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetConversation(aConversation); } \
NS_IMETHOD GetOutgoing(bool *aOutgoing) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOutgoing(aOutgoing); } \
NS_IMETHOD GetIncoming(bool *aIncoming) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIncoming(aIncoming); } \
NS_IMETHOD GetSystem(bool *aSystem) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSystem(aSystem); } \
NS_IMETHOD GetAutoResponse(bool *aAutoResponse) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoResponse(aAutoResponse); } \
NS_IMETHOD GetContainsNick(bool *aContainsNick) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContainsNick(aContainsNick); } \
NS_IMETHOD GetNoLog(bool *aNoLog) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoLog(aNoLog); } \
NS_IMETHOD GetError(bool *aError) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetError(aError); } \
NS_IMETHOD GetDelayed(bool *aDelayed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDelayed(aDelayed); } \
NS_IMETHOD GetNoFormat(bool *aNoFormat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoFormat(aNoFormat); } \
NS_IMETHOD GetContainsImages(bool *aContainsImages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContainsImages(aContainsImages); } \
NS_IMETHOD GetNotification(bool *aNotification) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotification(aNotification); } \
NS_IMETHOD GetNoLinkification(bool *aNoLinkification) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoLinkification(aNoLinkification); } \
NS_IMETHOD GetActions(uint32_t *actionCount, prplIMessageAction * **actions) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActions(actionCount, actions); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public prplIMessage
{
public:
NS_DECL_ISUPPORTS
NS_DECL_PRPLIMESSAGE
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, prplIMessage)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute unsigned long id; */
NS_IMETHODIMP _MYCLASS_::GetId(uint32_t *aId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String who; */
NS_IMETHODIMP _MYCLASS_::GetWho(nsACString & aWho)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String alias; */
NS_IMETHODIMP _MYCLASS_::GetAlias(nsACString & aAlias)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String originalMessage; */
NS_IMETHODIMP _MYCLASS_::GetOriginalMessage(nsACString & aOriginalMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String message; */
NS_IMETHODIMP _MYCLASS_::GetMessage(nsACString & aMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetMessage(const nsACString & aMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String iconURL; */
NS_IMETHODIMP _MYCLASS_::GetIconURL(nsACString & aIconURL)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute PRTime time; */
NS_IMETHODIMP _MYCLASS_::GetTime(PRTime *aTime)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute prplIConversation conversation; */
NS_IMETHODIMP _MYCLASS_::GetConversation(prplIConversation * *aConversation)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean outgoing; */
NS_IMETHODIMP _MYCLASS_::GetOutgoing(bool *aOutgoing)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean incoming; */
NS_IMETHODIMP _MYCLASS_::GetIncoming(bool *aIncoming)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean system; */
NS_IMETHODIMP _MYCLASS_::GetSystem(bool *aSystem)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean autoResponse; */
NS_IMETHODIMP _MYCLASS_::GetAutoResponse(bool *aAutoResponse)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean containsNick; */
NS_IMETHODIMP _MYCLASS_::GetContainsNick(bool *aContainsNick)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean noLog; */
NS_IMETHODIMP _MYCLASS_::GetNoLog(bool *aNoLog)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean error; */
NS_IMETHODIMP _MYCLASS_::GetError(bool *aError)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean delayed; */
NS_IMETHODIMP _MYCLASS_::GetDelayed(bool *aDelayed)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean noFormat; */
NS_IMETHODIMP _MYCLASS_::GetNoFormat(bool *aNoFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean containsImages; */
NS_IMETHODIMP _MYCLASS_::GetContainsImages(bool *aContainsImages)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean notification; */
NS_IMETHODIMP _MYCLASS_::GetNotification(bool *aNotification)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean noLinkification; */
NS_IMETHODIMP _MYCLASS_::GetNoLinkification(bool *aNoLinkification)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getActions ([optional] out unsigned long actionCount, [array, size_is (actionCount), retval] out prplIMessageAction actions); */
NS_IMETHODIMP _MYCLASS_::GetActions(uint32_t *actionCount, prplIMessageAction * **actions)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_prplIMessage_h__ */
|