/usr/include/thunderbird/nsIMsgComposeParams.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 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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIMsgComposeParams.idl
*/
#ifndef __gen_nsIMsgComposeParams_h__
#define __gen_nsIMsgComposeParams_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsIMsgIdentity_h__
#include "nsIMsgIdentity.h"
#endif
#ifndef __gen_nsIMsgCompFields_h__
#include "nsIMsgCompFields.h"
#endif
#ifndef __gen_nsIMsgSendListener_h__
#include "nsIMsgSendListener.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIMsgDBHdr; /* forward declaration */
typedef int32_t MSG_ComposeType;
/* starting interface: nsIMsgCompType */
#define NS_IMSGCOMPTYPE_IID_STR "c7035852-7531-11d3-9a73-006008948010"
#define NS_IMSGCOMPTYPE_IID \
{0xc7035852, 0x7531, 0x11d3, \
{ 0x9a, 0x73, 0x00, 0x60, 0x08, 0x94, 0x80, 0x10 }}
class NS_NO_VTABLE nsIMsgCompType {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGCOMPTYPE_IID)
enum {
New = 0,
Reply = 1,
ReplyAll = 2,
ForwardAsAttachment = 3,
ForwardInline = 4,
NewsPost = 5,
ReplyToSender = 6,
ReplyToGroup = 7,
ReplyToSenderAndGroup = 8,
Draft = 9,
Template = 10,
MailToUrl = 11,
ReplyWithTemplate = 12,
ReplyToList = 13,
Redirect = 14
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgCompType, NS_IMSGCOMPTYPE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGCOMPTYPE \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGCOMPTYPE(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGCOMPTYPE(_to) \
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgCompType : public nsIMsgCompType
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGCOMPTYPE
nsMsgCompType();
private:
~nsMsgCompType();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgCompType, nsIMsgCompType)
nsMsgCompType::nsMsgCompType()
{
/* member initializers and constructor code */
}
nsMsgCompType::~nsMsgCompType()
{
/* destructor code */
}
/* End of implementation class template. */
#endif
typedef int32_t MSG_ComposeFormat;
/* starting interface: nsIMsgCompFormat */
#define NS_IMSGCOMPFORMAT_IID_STR "a28325e8-7531-11d3-8f1c-006008948010"
#define NS_IMSGCOMPFORMAT_IID \
{0xa28325e8, 0x7531, 0x11d3, \
{ 0x8f, 0x1c, 0x00, 0x60, 0x08, 0x94, 0x80, 0x10 }}
class NS_NO_VTABLE nsIMsgCompFormat {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGCOMPFORMAT_IID)
enum {
Default = 0,
HTML = 1,
PlainText = 2,
OppositeOfDefault = 3
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgCompFormat, NS_IMSGCOMPFORMAT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGCOMPFORMAT \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGCOMPFORMAT(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGCOMPFORMAT(_to) \
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgCompFormat : public nsIMsgCompFormat
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGCOMPFORMAT
nsMsgCompFormat();
private:
~nsMsgCompFormat();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgCompFormat, nsIMsgCompFormat)
nsMsgCompFormat::nsMsgCompFormat()
{
/* member initializers and constructor code */
}
nsMsgCompFormat::~nsMsgCompFormat()
{
/* destructor code */
}
/* End of implementation class template. */
#endif
/* starting interface: nsIMsgComposeParams */
#define NS_IMSGCOMPOSEPARAMS_IID_STR "930895f2-d610-43f4-9e3c-25e1d1fe4143"
#define NS_IMSGCOMPOSEPARAMS_IID \
{0x930895f2, 0xd610, 0x43f4, \
{ 0x9e, 0x3c, 0x25, 0xe1, 0xd1, 0xfe, 0x41, 0x43 }}
class NS_NO_VTABLE nsIMsgComposeParams : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGCOMPOSEPARAMS_IID)
/* attribute MSG_ComposeType type; */
NS_IMETHOD GetType(MSG_ComposeType *aType) = 0;
NS_IMETHOD SetType(MSG_ComposeType aType) = 0;
/* attribute MSG_ComposeFormat format; */
NS_IMETHOD GetFormat(MSG_ComposeFormat *aFormat) = 0;
NS_IMETHOD SetFormat(MSG_ComposeFormat aFormat) = 0;
/* attribute string originalMsgURI; */
NS_IMETHOD GetOriginalMsgURI(char * *aOriginalMsgURI) = 0;
NS_IMETHOD SetOriginalMsgURI(const char * aOriginalMsgURI) = 0;
/* attribute nsIMsgIdentity identity; */
NS_IMETHOD GetIdentity(nsIMsgIdentity * *aIdentity) = 0;
NS_IMETHOD SetIdentity(nsIMsgIdentity *aIdentity) = 0;
/* attribute nsIMsgCompFields composeFields; */
NS_IMETHOD GetComposeFields(nsIMsgCompFields * *aComposeFields) = 0;
NS_IMETHOD SetComposeFields(nsIMsgCompFields *aComposeFields) = 0;
/* attribute boolean bodyIsLink; */
NS_IMETHOD GetBodyIsLink(bool *aBodyIsLink) = 0;
NS_IMETHOD SetBodyIsLink(bool aBodyIsLink) = 0;
/* attribute nsIMsgSendListener sendListener; */
NS_IMETHOD GetSendListener(nsIMsgSendListener * *aSendListener) = 0;
NS_IMETHOD SetSendListener(nsIMsgSendListener *aSendListener) = 0;
/* attribute string smtpPassword; */
NS_IMETHOD GetSmtpPassword(char * *aSmtpPassword) = 0;
NS_IMETHOD SetSmtpPassword(const char * aSmtpPassword) = 0;
/* attribute nsIMsgDBHdr origMsgHdr; */
NS_IMETHOD GetOrigMsgHdr(nsIMsgDBHdr * *aOrigMsgHdr) = 0;
NS_IMETHOD SetOrigMsgHdr(nsIMsgDBHdr *aOrigMsgHdr) = 0;
/* attribute AUTF8String htmlToQuote; */
NS_IMETHOD GetHtmlToQuote(nsACString & aHtmlToQuote) = 0;
NS_IMETHOD SetHtmlToQuote(const nsACString & aHtmlToQuote) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgComposeParams, NS_IMSGCOMPOSEPARAMS_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGCOMPOSEPARAMS \
NS_IMETHOD GetType(MSG_ComposeType *aType) override; \
NS_IMETHOD SetType(MSG_ComposeType aType) override; \
NS_IMETHOD GetFormat(MSG_ComposeFormat *aFormat) override; \
NS_IMETHOD SetFormat(MSG_ComposeFormat aFormat) override; \
NS_IMETHOD GetOriginalMsgURI(char * *aOriginalMsgURI) override; \
NS_IMETHOD SetOriginalMsgURI(const char * aOriginalMsgURI) override; \
NS_IMETHOD GetIdentity(nsIMsgIdentity * *aIdentity) override; \
NS_IMETHOD SetIdentity(nsIMsgIdentity *aIdentity) override; \
NS_IMETHOD GetComposeFields(nsIMsgCompFields * *aComposeFields) override; \
NS_IMETHOD SetComposeFields(nsIMsgCompFields *aComposeFields) override; \
NS_IMETHOD GetBodyIsLink(bool *aBodyIsLink) override; \
NS_IMETHOD SetBodyIsLink(bool aBodyIsLink) override; \
NS_IMETHOD GetSendListener(nsIMsgSendListener * *aSendListener) override; \
NS_IMETHOD SetSendListener(nsIMsgSendListener *aSendListener) override; \
NS_IMETHOD GetSmtpPassword(char * *aSmtpPassword) override; \
NS_IMETHOD SetSmtpPassword(const char * aSmtpPassword) override; \
NS_IMETHOD GetOrigMsgHdr(nsIMsgDBHdr * *aOrigMsgHdr) override; \
NS_IMETHOD SetOrigMsgHdr(nsIMsgDBHdr *aOrigMsgHdr) override; \
NS_IMETHOD GetHtmlToQuote(nsACString & aHtmlToQuote) override; \
NS_IMETHOD SetHtmlToQuote(const nsACString & aHtmlToQuote) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGCOMPOSEPARAMS(_to) \
NS_IMETHOD GetType(MSG_ComposeType *aType) override { return _to GetType(aType); } \
NS_IMETHOD SetType(MSG_ComposeType aType) override { return _to SetType(aType); } \
NS_IMETHOD GetFormat(MSG_ComposeFormat *aFormat) override { return _to GetFormat(aFormat); } \
NS_IMETHOD SetFormat(MSG_ComposeFormat aFormat) override { return _to SetFormat(aFormat); } \
NS_IMETHOD GetOriginalMsgURI(char * *aOriginalMsgURI) override { return _to GetOriginalMsgURI(aOriginalMsgURI); } \
NS_IMETHOD SetOriginalMsgURI(const char * aOriginalMsgURI) override { return _to SetOriginalMsgURI(aOriginalMsgURI); } \
NS_IMETHOD GetIdentity(nsIMsgIdentity * *aIdentity) override { return _to GetIdentity(aIdentity); } \
NS_IMETHOD SetIdentity(nsIMsgIdentity *aIdentity) override { return _to SetIdentity(aIdentity); } \
NS_IMETHOD GetComposeFields(nsIMsgCompFields * *aComposeFields) override { return _to GetComposeFields(aComposeFields); } \
NS_IMETHOD SetComposeFields(nsIMsgCompFields *aComposeFields) override { return _to SetComposeFields(aComposeFields); } \
NS_IMETHOD GetBodyIsLink(bool *aBodyIsLink) override { return _to GetBodyIsLink(aBodyIsLink); } \
NS_IMETHOD SetBodyIsLink(bool aBodyIsLink) override { return _to SetBodyIsLink(aBodyIsLink); } \
NS_IMETHOD GetSendListener(nsIMsgSendListener * *aSendListener) override { return _to GetSendListener(aSendListener); } \
NS_IMETHOD SetSendListener(nsIMsgSendListener *aSendListener) override { return _to SetSendListener(aSendListener); } \
NS_IMETHOD GetSmtpPassword(char * *aSmtpPassword) override { return _to GetSmtpPassword(aSmtpPassword); } \
NS_IMETHOD SetSmtpPassword(const char * aSmtpPassword) override { return _to SetSmtpPassword(aSmtpPassword); } \
NS_IMETHOD GetOrigMsgHdr(nsIMsgDBHdr * *aOrigMsgHdr) override { return _to GetOrigMsgHdr(aOrigMsgHdr); } \
NS_IMETHOD SetOrigMsgHdr(nsIMsgDBHdr *aOrigMsgHdr) override { return _to SetOrigMsgHdr(aOrigMsgHdr); } \
NS_IMETHOD GetHtmlToQuote(nsACString & aHtmlToQuote) override { return _to GetHtmlToQuote(aHtmlToQuote); } \
NS_IMETHOD SetHtmlToQuote(const nsACString & aHtmlToQuote) override { return _to SetHtmlToQuote(aHtmlToQuote); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGCOMPOSEPARAMS(_to) \
NS_IMETHOD GetType(MSG_ComposeType *aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
NS_IMETHOD SetType(MSG_ComposeType aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
NS_IMETHOD GetFormat(MSG_ComposeFormat *aFormat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFormat(aFormat); } \
NS_IMETHOD SetFormat(MSG_ComposeFormat aFormat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFormat(aFormat); } \
NS_IMETHOD GetOriginalMsgURI(char * *aOriginalMsgURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOriginalMsgURI(aOriginalMsgURI); } \
NS_IMETHOD SetOriginalMsgURI(const char * aOriginalMsgURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOriginalMsgURI(aOriginalMsgURI); } \
NS_IMETHOD GetIdentity(nsIMsgIdentity * *aIdentity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIdentity(aIdentity); } \
NS_IMETHOD SetIdentity(nsIMsgIdentity *aIdentity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIdentity(aIdentity); } \
NS_IMETHOD GetComposeFields(nsIMsgCompFields * *aComposeFields) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComposeFields(aComposeFields); } \
NS_IMETHOD SetComposeFields(nsIMsgCompFields *aComposeFields) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetComposeFields(aComposeFields); } \
NS_IMETHOD GetBodyIsLink(bool *aBodyIsLink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBodyIsLink(aBodyIsLink); } \
NS_IMETHOD SetBodyIsLink(bool aBodyIsLink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBodyIsLink(aBodyIsLink); } \
NS_IMETHOD GetSendListener(nsIMsgSendListener * *aSendListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSendListener(aSendListener); } \
NS_IMETHOD SetSendListener(nsIMsgSendListener *aSendListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSendListener(aSendListener); } \
NS_IMETHOD GetSmtpPassword(char * *aSmtpPassword) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSmtpPassword(aSmtpPassword); } \
NS_IMETHOD SetSmtpPassword(const char * aSmtpPassword) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSmtpPassword(aSmtpPassword); } \
NS_IMETHOD GetOrigMsgHdr(nsIMsgDBHdr * *aOrigMsgHdr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOrigMsgHdr(aOrigMsgHdr); } \
NS_IMETHOD SetOrigMsgHdr(nsIMsgDBHdr *aOrigMsgHdr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOrigMsgHdr(aOrigMsgHdr); } \
NS_IMETHOD GetHtmlToQuote(nsACString & aHtmlToQuote) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHtmlToQuote(aHtmlToQuote); } \
NS_IMETHOD SetHtmlToQuote(const nsACString & aHtmlToQuote) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHtmlToQuote(aHtmlToQuote); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgComposeParams : public nsIMsgComposeParams
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGCOMPOSEPARAMS
nsMsgComposeParams();
private:
~nsMsgComposeParams();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgComposeParams, nsIMsgComposeParams)
nsMsgComposeParams::nsMsgComposeParams()
{
/* member initializers and constructor code */
}
nsMsgComposeParams::~nsMsgComposeParams()
{
/* destructor code */
}
/* attribute MSG_ComposeType type; */
NS_IMETHODIMP nsMsgComposeParams::GetType(MSG_ComposeType *aType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgComposeParams::SetType(MSG_ComposeType aType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute MSG_ComposeFormat format; */
NS_IMETHODIMP nsMsgComposeParams::GetFormat(MSG_ComposeFormat *aFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgComposeParams::SetFormat(MSG_ComposeFormat aFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute string originalMsgURI; */
NS_IMETHODIMP nsMsgComposeParams::GetOriginalMsgURI(char * *aOriginalMsgURI)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgComposeParams::SetOriginalMsgURI(const char * aOriginalMsgURI)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIMsgIdentity identity; */
NS_IMETHODIMP nsMsgComposeParams::GetIdentity(nsIMsgIdentity * *aIdentity)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgComposeParams::SetIdentity(nsIMsgIdentity *aIdentity)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIMsgCompFields composeFields; */
NS_IMETHODIMP nsMsgComposeParams::GetComposeFields(nsIMsgCompFields * *aComposeFields)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgComposeParams::SetComposeFields(nsIMsgCompFields *aComposeFields)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean bodyIsLink; */
NS_IMETHODIMP nsMsgComposeParams::GetBodyIsLink(bool *aBodyIsLink)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgComposeParams::SetBodyIsLink(bool aBodyIsLink)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIMsgSendListener sendListener; */
NS_IMETHODIMP nsMsgComposeParams::GetSendListener(nsIMsgSendListener * *aSendListener)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgComposeParams::SetSendListener(nsIMsgSendListener *aSendListener)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute string smtpPassword; */
NS_IMETHODIMP nsMsgComposeParams::GetSmtpPassword(char * *aSmtpPassword)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgComposeParams::SetSmtpPassword(const char * aSmtpPassword)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIMsgDBHdr origMsgHdr; */
NS_IMETHODIMP nsMsgComposeParams::GetOrigMsgHdr(nsIMsgDBHdr * *aOrigMsgHdr)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgComposeParams::SetOrigMsgHdr(nsIMsgDBHdr *aOrigMsgHdr)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String htmlToQuote; */
NS_IMETHODIMP nsMsgComposeParams::GetHtmlToQuote(nsACString & aHtmlToQuote)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgComposeParams::SetHtmlToQuote(const nsACString & aHtmlToQuote)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIMsgComposeParams_h__ */
|