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

#ifndef __gen_nsIMimeStreamConverter_h__
#define __gen_nsIMimeStreamConverter_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#ifndef __gen_nsrootidl_h__
#include "nsrootidl.h"
#endif

#ifndef __gen_nsIMimeHeaders_h__
#include "nsIMimeHeaders.h"
#endif

#ifndef __gen_nsIMsgIdentity_h__
#include "nsIMsgIdentity.h"
#endif

#ifndef __gen_nsIMsgHdr_h__
#include "nsIMsgHdr.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 nsIURI; /* forward declaration */

typedef int32_t  nsMimeOutputType;


/* starting interface:    nsMimeOutput */
#define NS_MIMEOUTPUT_IID_STR "fdc2956e-d558-43fb-bfdd-fb9511229aa5"

#define NS_MIMEOUTPUT_IID \
  {0xfdc2956e, 0xd558, 0x43fb, \
    { 0xbf, 0xdd, 0xfb, 0x95, 0x11, 0x22, 0x9a, 0xa5 }}

class NS_NO_VTABLE nsMimeOutput {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_MIMEOUTPUT_IID)

  enum {
    nsMimeMessageSplitDisplay = 0,
    nsMimeMessageHeaderDisplay = 1,
    nsMimeMessageBodyDisplay = 2,
    nsMimeMessageQuoting = 3,
    nsMimeMessageBodyQuoting = 4,
    nsMimeMessageRaw = 5,
    nsMimeMessageDraftOrTemplate = 6,
    nsMimeMessageEditorTemplate = 7,
    nsMimeMessagePrintOutput = 9,
    nsMimeMessageSaveAs = 10,
    nsMimeMessageSource = 11,
    nsMimeMessageFilterSniffer = 12,
    nsMimeMessageDecrypt = 13,
    nsMimeMessageAttach = 14,
    nsMimeUnknown = 15
  };

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsMimeOutput, NS_MIMEOUTPUT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSMIMEOUTPUT \

/* 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_NSMIMEOUTPUT \

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSMIMEOUTPUT(_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_NSMIMEOUTPUT(_to) \


/* starting interface:    nsIMimeStreamConverterListener */
#define NS_IMIMESTREAMCONVERTERLISTENER_IID_STR "fa81caa0-6261-11d3-8311-00805f2a0107"

#define NS_IMIMESTREAMCONVERTERLISTENER_IID \
  {0xfa81caa0, 0x6261, 0x11d3, \
    { 0x83, 0x11, 0x00, 0x80, 0x5f, 0x2a, 0x01, 0x07 }}

class NS_NO_VTABLE nsIMimeStreamConverterListener : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMIMESTREAMCONVERTERLISTENER_IID)

  /* void onHeadersReady (in nsIMimeHeaders headers); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnHeadersReady(nsIMimeHeaders *headers) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMimeStreamConverterListener, NS_IMIMESTREAMCONVERTERLISTENER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMIMESTREAMCONVERTERLISTENER \
  NS_IMETHOD OnHeadersReady(nsIMimeHeaders *headers) 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_NSIMIMESTREAMCONVERTERLISTENER \
  nsresult OnHeadersReady(nsIMimeHeaders *headers); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMIMESTREAMCONVERTERLISTENER(_to) \
  NS_IMETHOD OnHeadersReady(nsIMimeHeaders *headers) override { return _to OnHeadersReady(headers); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMIMESTREAMCONVERTERLISTENER(_to) \
  NS_IMETHOD OnHeadersReady(nsIMimeHeaders *headers) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnHeadersReady(headers); } 


/* starting interface:    nsIMimeStreamConverter */
#define NS_IMIMESTREAMCONVERTER_IID_STR "d894c833-29c5-495b-880c-9a9f847bfdc9"

#define NS_IMIMESTREAMCONVERTER_IID \
  {0xd894c833, 0x29c5, 0x495b, \
    { 0x88, 0x0c, 0x9a, 0x9f, 0x84, 0x7b, 0xfd, 0xc9 }}

class NS_NO_VTABLE nsIMimeStreamConverter : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMIMESTREAMCONVERTER_IID)

  /* void SetMimeOutputType (in nsMimeOutputType aType); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMimeOutputType(nsMimeOutputType aType) = 0;

  /* void GetMimeOutputType (out nsMimeOutputType aOutFormat); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMimeOutputType(nsMimeOutputType *aOutFormat) = 0;

  /* void SetStreamURI (in nsIURI aURI); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetStreamURI(nsIURI *aURI) = 0;

  /* void SetMimeHeadersListener (in nsIMimeStreamConverterListener listener, in nsMimeOutputType aType); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMimeHeadersListener(nsIMimeStreamConverterListener *listener, nsMimeOutputType aType) = 0;

  /* attribute boolean forwardInline; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetForwardInline(bool *aForwardInline) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetForwardInline(bool aForwardInline) = 0;

  /* attribute boolean forwardInlineFilter; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetForwardInlineFilter(bool *aForwardInlineFilter) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetForwardInlineFilter(bool aForwardInlineFilter) = 0;

  /* attribute AString forwardToAddress; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetForwardToAddress(nsAString& aForwardToAddress) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetForwardToAddress(const nsAString& aForwardToAddress) = 0;

  /* attribute boolean overrideComposeFormat; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOverrideComposeFormat(bool *aOverrideComposeFormat) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOverrideComposeFormat(bool aOverrideComposeFormat) = 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 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 nsIMsgDBHdr origMsgHdr; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOrigMsgHdr(nsIMsgDBHdr **aOrigMsgHdr) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOrigMsgHdr(nsIMsgDBHdr *aOrigMsgHdr) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMimeStreamConverter, NS_IMIMESTREAMCONVERTER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMIMESTREAMCONVERTER \
  NS_IMETHOD SetMimeOutputType(nsMimeOutputType aType) override; \
  NS_IMETHOD GetMimeOutputType(nsMimeOutputType *aOutFormat) override; \
  NS_IMETHOD SetStreamURI(nsIURI *aURI) override; \
  NS_IMETHOD SetMimeHeadersListener(nsIMimeStreamConverterListener *listener, nsMimeOutputType aType) override; \
  NS_IMETHOD GetForwardInline(bool *aForwardInline) override; \
  NS_IMETHOD SetForwardInline(bool aForwardInline) override; \
  NS_IMETHOD GetForwardInlineFilter(bool *aForwardInlineFilter) override; \
  NS_IMETHOD SetForwardInlineFilter(bool aForwardInlineFilter) override; \
  NS_IMETHOD GetForwardToAddress(nsAString& aForwardToAddress) override; \
  NS_IMETHOD SetForwardToAddress(const nsAString& aForwardToAddress) override; \
  NS_IMETHOD GetOverrideComposeFormat(bool *aOverrideComposeFormat) override; \
  NS_IMETHOD SetOverrideComposeFormat(bool aOverrideComposeFormat) override; \
  NS_IMETHOD GetIdentity(nsIMsgIdentity **aIdentity) override; \
  NS_IMETHOD SetIdentity(nsIMsgIdentity *aIdentity) override; \
  NS_IMETHOD GetOriginalMsgURI(char * *aOriginalMsgURI) override; \
  NS_IMETHOD SetOriginalMsgURI(const char * aOriginalMsgURI) override; \
  NS_IMETHOD GetOrigMsgHdr(nsIMsgDBHdr **aOrigMsgHdr) override; \
  NS_IMETHOD SetOrigMsgHdr(nsIMsgDBHdr *aOrigMsgHdr) 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_NSIMIMESTREAMCONVERTER \
  nsresult SetMimeOutputType(nsMimeOutputType aType); \
  nsresult GetMimeOutputType(nsMimeOutputType *aOutFormat); \
  nsresult SetStreamURI(nsIURI *aURI); \
  nsresult SetMimeHeadersListener(nsIMimeStreamConverterListener *listener, nsMimeOutputType aType); \
  nsresult GetForwardInline(bool *aForwardInline); \
  nsresult SetForwardInline(bool aForwardInline); \
  nsresult GetForwardInlineFilter(bool *aForwardInlineFilter); \
  nsresult SetForwardInlineFilter(bool aForwardInlineFilter); \
  nsresult GetForwardToAddress(nsAString& aForwardToAddress); \
  nsresult SetForwardToAddress(const nsAString& aForwardToAddress); \
  nsresult GetOverrideComposeFormat(bool *aOverrideComposeFormat); \
  nsresult SetOverrideComposeFormat(bool aOverrideComposeFormat); \
  nsresult GetIdentity(nsIMsgIdentity **aIdentity); \
  nsresult SetIdentity(nsIMsgIdentity *aIdentity); \
  nsresult GetOriginalMsgURI(char * *aOriginalMsgURI); \
  nsresult SetOriginalMsgURI(const char * aOriginalMsgURI); \
  nsresult GetOrigMsgHdr(nsIMsgDBHdr **aOrigMsgHdr); \
  nsresult SetOrigMsgHdr(nsIMsgDBHdr *aOrigMsgHdr); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMIMESTREAMCONVERTER(_to) \
  NS_IMETHOD SetMimeOutputType(nsMimeOutputType aType) override { return _to SetMimeOutputType(aType); } \
  NS_IMETHOD GetMimeOutputType(nsMimeOutputType *aOutFormat) override { return _to GetMimeOutputType(aOutFormat); } \
  NS_IMETHOD SetStreamURI(nsIURI *aURI) override { return _to SetStreamURI(aURI); } \
  NS_IMETHOD SetMimeHeadersListener(nsIMimeStreamConverterListener *listener, nsMimeOutputType aType) override { return _to SetMimeHeadersListener(listener, aType); } \
  NS_IMETHOD GetForwardInline(bool *aForwardInline) override { return _to GetForwardInline(aForwardInline); } \
  NS_IMETHOD SetForwardInline(bool aForwardInline) override { return _to SetForwardInline(aForwardInline); } \
  NS_IMETHOD GetForwardInlineFilter(bool *aForwardInlineFilter) override { return _to GetForwardInlineFilter(aForwardInlineFilter); } \
  NS_IMETHOD SetForwardInlineFilter(bool aForwardInlineFilter) override { return _to SetForwardInlineFilter(aForwardInlineFilter); } \
  NS_IMETHOD GetForwardToAddress(nsAString& aForwardToAddress) override { return _to GetForwardToAddress(aForwardToAddress); } \
  NS_IMETHOD SetForwardToAddress(const nsAString& aForwardToAddress) override { return _to SetForwardToAddress(aForwardToAddress); } \
  NS_IMETHOD GetOverrideComposeFormat(bool *aOverrideComposeFormat) override { return _to GetOverrideComposeFormat(aOverrideComposeFormat); } \
  NS_IMETHOD SetOverrideComposeFormat(bool aOverrideComposeFormat) override { return _to SetOverrideComposeFormat(aOverrideComposeFormat); } \
  NS_IMETHOD GetIdentity(nsIMsgIdentity **aIdentity) override { return _to GetIdentity(aIdentity); } \
  NS_IMETHOD SetIdentity(nsIMsgIdentity *aIdentity) override { return _to SetIdentity(aIdentity); } \
  NS_IMETHOD GetOriginalMsgURI(char * *aOriginalMsgURI) override { return _to GetOriginalMsgURI(aOriginalMsgURI); } \
  NS_IMETHOD SetOriginalMsgURI(const char * aOriginalMsgURI) override { return _to SetOriginalMsgURI(aOriginalMsgURI); } \
  NS_IMETHOD GetOrigMsgHdr(nsIMsgDBHdr **aOrigMsgHdr) override { return _to GetOrigMsgHdr(aOrigMsgHdr); } \
  NS_IMETHOD SetOrigMsgHdr(nsIMsgDBHdr *aOrigMsgHdr) override { return _to SetOrigMsgHdr(aOrigMsgHdr); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMIMESTREAMCONVERTER(_to) \
  NS_IMETHOD SetMimeOutputType(nsMimeOutputType aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMimeOutputType(aType); } \
  NS_IMETHOD GetMimeOutputType(nsMimeOutputType *aOutFormat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMimeOutputType(aOutFormat); } \
  NS_IMETHOD SetStreamURI(nsIURI *aURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStreamURI(aURI); } \
  NS_IMETHOD SetMimeHeadersListener(nsIMimeStreamConverterListener *listener, nsMimeOutputType aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMimeHeadersListener(listener, aType); } \
  NS_IMETHOD GetForwardInline(bool *aForwardInline) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForwardInline(aForwardInline); } \
  NS_IMETHOD SetForwardInline(bool aForwardInline) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetForwardInline(aForwardInline); } \
  NS_IMETHOD GetForwardInlineFilter(bool *aForwardInlineFilter) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForwardInlineFilter(aForwardInlineFilter); } \
  NS_IMETHOD SetForwardInlineFilter(bool aForwardInlineFilter) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetForwardInlineFilter(aForwardInlineFilter); } \
  NS_IMETHOD GetForwardToAddress(nsAString& aForwardToAddress) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForwardToAddress(aForwardToAddress); } \
  NS_IMETHOD SetForwardToAddress(const nsAString& aForwardToAddress) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetForwardToAddress(aForwardToAddress); } \
  NS_IMETHOD GetOverrideComposeFormat(bool *aOverrideComposeFormat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOverrideComposeFormat(aOverrideComposeFormat); } \
  NS_IMETHOD SetOverrideComposeFormat(bool aOverrideComposeFormat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOverrideComposeFormat(aOverrideComposeFormat); } \
  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 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 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); } 


#endif /* __gen_nsIMimeStreamConverter_h__ */