DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/compose/public/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

#include "js/GCAnnotations.h"

/* 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,
    EditAsNew = 15,
    EditTemplate = 16,
    ReplyIgnoreQuote = 100
  };

};

  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 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_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) \

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 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_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) \


/* 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; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetType(MSG_ComposeType *aType) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetType(MSG_ComposeType aType) = 0;

  /* attribute MSG_ComposeFormat format; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFormat(MSG_ComposeFormat *aFormat) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFormat(MSG_ComposeFormat aFormat) = 0;

  /* attribute string originalMsgURI; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOriginalMsgURI(char * *aOriginalMsgURI) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOriginalMsgURI(const char * aOriginalMsgURI) = 0;

  /* attribute nsIMsgIdentity identity; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIdentity(nsIMsgIdentity **aIdentity) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIdentity(nsIMsgIdentity *aIdentity) = 0;

  /* attribute nsIMsgCompFields composeFields; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetComposeFields(nsIMsgCompFields **aComposeFields) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetComposeFields(nsIMsgCompFields *aComposeFields) = 0;

  /* attribute boolean bodyIsLink; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetBodyIsLink(bool *aBodyIsLink) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetBodyIsLink(bool aBodyIsLink) = 0;

  /* attribute nsIMsgSendListener sendListener; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSendListener(nsIMsgSendListener **aSendListener) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSendListener(nsIMsgSendListener *aSendListener) = 0;

  /* attribute AString smtpPassword; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSmtpPassword(nsAString& aSmtpPassword) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSmtpPassword(const nsAString& aSmtpPassword) = 0;

  /* attribute nsIMsgDBHdr origMsgHdr; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOrigMsgHdr(nsIMsgDBHdr **aOrigMsgHdr) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOrigMsgHdr(nsIMsgDBHdr *aOrigMsgHdr) = 0;

  /* attribute AUTF8String htmlToQuote; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHtmlToQuote(nsACString& aHtmlToQuote) = 0;
  JS_HAZ_CAN_RUN_SCRIPT 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(nsAString& aSmtpPassword) override; \
  NS_IMETHOD SetSmtpPassword(const nsAString& 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 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_NSIMSGCOMPOSEPARAMS \
  nsresult GetType(MSG_ComposeType *aType); \
  nsresult SetType(MSG_ComposeType aType); \
  nsresult GetFormat(MSG_ComposeFormat *aFormat); \
  nsresult SetFormat(MSG_ComposeFormat aFormat); \
  nsresult GetOriginalMsgURI(char * *aOriginalMsgURI); \
  nsresult SetOriginalMsgURI(const char * aOriginalMsgURI); \
  nsresult GetIdentity(nsIMsgIdentity **aIdentity); \
  nsresult SetIdentity(nsIMsgIdentity *aIdentity); \
  nsresult GetComposeFields(nsIMsgCompFields **aComposeFields); \
  nsresult SetComposeFields(nsIMsgCompFields *aComposeFields); \
  nsresult GetBodyIsLink(bool *aBodyIsLink); \
  nsresult SetBodyIsLink(bool aBodyIsLink); \
  nsresult GetSendListener(nsIMsgSendListener **aSendListener); \
  nsresult SetSendListener(nsIMsgSendListener *aSendListener); \
  nsresult GetSmtpPassword(nsAString& aSmtpPassword); \
  nsresult SetSmtpPassword(const nsAString& aSmtpPassword); \
  nsresult GetOrigMsgHdr(nsIMsgDBHdr **aOrigMsgHdr); \
  nsresult SetOrigMsgHdr(nsIMsgDBHdr *aOrigMsgHdr); \
  nsresult GetHtmlToQuote(nsACString& aHtmlToQuote); \
  nsresult SetHtmlToQuote(const nsACString& aHtmlToQuote); 

/* 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(nsAString& aSmtpPassword) override { return _to GetSmtpPassword(aSmtpPassword); } \
  NS_IMETHOD SetSmtpPassword(const nsAString& 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(nsAString& aSmtpPassword) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSmtpPassword(aSmtpPassword); } \
  NS_IMETHOD SetSmtpPassword(const nsAString& 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); } 


#endif /* __gen_nsIMsgComposeParams_h__ */