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

#ifndef __gen_nsIMsgQuote_h__
#define __gen_nsIMsgQuote_h__


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

#ifndef __gen_nsIMsgQuotingOutputStreamListener_h__
#include "nsIMsgQuotingOutputStreamListener.h"
#endif

#ifndef __gen_nsIChannel_h__
#include "nsIChannel.h"
#endif

#ifndef __gen_nsIMimeStreamConverter_h__
#include "nsIMimeStreamConverter.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 */


/* starting interface:    nsIMsgQuote */
#define NS_IMSGQUOTE_IID_STR "f79b1d55-f546-4ed5-9f75-9428e35c4eff"

#define NS_IMSGQUOTE_IID \
  {0xf79b1d55, 0xf546, 0x4ed5, \
    { 0x9f, 0x75, 0x94, 0x28, 0xe3, 0x5c, 0x4e, 0xff }}

class NS_NO_VTABLE nsIMsgQuote : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGQUOTE_IID)

  /* void quoteMessage (in string msgURI, in boolean quoteHeaders, in nsIMsgQuotingOutputStreamListener streamListener, in string charset, in boolean headersOnly, in nsIMsgDBHdr aOrigHdr); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD QuoteMessage(const char * msgURI, bool quoteHeaders, nsIMsgQuotingOutputStreamListener *streamListener, const char * charset, bool headersOnly, nsIMsgDBHdr *aOrigHdr) = 0;

  /* readonly attribute nsIMimeStreamConverterListener quoteListener; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetQuoteListener(nsIMimeStreamConverterListener **aQuoteListener) = 0;

  /* readonly attribute nsIChannel quoteChannel; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetQuoteChannel(nsIChannel **aQuoteChannel) = 0;

  /* readonly attribute nsIMsgQuotingOutputStreamListener streamListener; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStreamListener(nsIMsgQuotingOutputStreamListener **aStreamListener) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgQuote, NS_IMSGQUOTE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGQUOTE \
  NS_IMETHOD QuoteMessage(const char * msgURI, bool quoteHeaders, nsIMsgQuotingOutputStreamListener *streamListener, const char * charset, bool headersOnly, nsIMsgDBHdr *aOrigHdr) override; \
  NS_IMETHOD GetQuoteListener(nsIMimeStreamConverterListener **aQuoteListener) override; \
  NS_IMETHOD GetQuoteChannel(nsIChannel **aQuoteChannel) override; \
  NS_IMETHOD GetStreamListener(nsIMsgQuotingOutputStreamListener **aStreamListener) 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_NSIMSGQUOTE \
  nsresult QuoteMessage(const char * msgURI, bool quoteHeaders, nsIMsgQuotingOutputStreamListener *streamListener, const char * charset, bool headersOnly, nsIMsgDBHdr *aOrigHdr); \
  nsresult GetQuoteListener(nsIMimeStreamConverterListener **aQuoteListener); \
  nsresult GetQuoteChannel(nsIChannel **aQuoteChannel); \
  nsresult GetStreamListener(nsIMsgQuotingOutputStreamListener **aStreamListener); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGQUOTE(_to) \
  NS_IMETHOD QuoteMessage(const char * msgURI, bool quoteHeaders, nsIMsgQuotingOutputStreamListener *streamListener, const char * charset, bool headersOnly, nsIMsgDBHdr *aOrigHdr) override { return _to QuoteMessage(msgURI, quoteHeaders, streamListener, charset, headersOnly, aOrigHdr); } \
  NS_IMETHOD GetQuoteListener(nsIMimeStreamConverterListener **aQuoteListener) override { return _to GetQuoteListener(aQuoteListener); } \
  NS_IMETHOD GetQuoteChannel(nsIChannel **aQuoteChannel) override { return _to GetQuoteChannel(aQuoteChannel); } \
  NS_IMETHOD GetStreamListener(nsIMsgQuotingOutputStreamListener **aStreamListener) override { return _to GetStreamListener(aStreamListener); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGQUOTE(_to) \
  NS_IMETHOD QuoteMessage(const char * msgURI, bool quoteHeaders, nsIMsgQuotingOutputStreamListener *streamListener, const char * charset, bool headersOnly, nsIMsgDBHdr *aOrigHdr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QuoteMessage(msgURI, quoteHeaders, streamListener, charset, headersOnly, aOrigHdr); } \
  NS_IMETHOD GetQuoteListener(nsIMimeStreamConverterListener **aQuoteListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetQuoteListener(aQuoteListener); } \
  NS_IMETHOD GetQuoteChannel(nsIChannel **aQuoteChannel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetQuoteChannel(aQuoteChannel); } \
  NS_IMETHOD GetStreamListener(nsIMsgQuotingOutputStreamListener **aStreamListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStreamListener(aStreamListener); } 


/* starting interface:    nsIMsgQuoteListener */
#define NS_IMSGQUOTELISTENER_IID_STR "1ec75ad9-88de-11d3-989d-001083010e9b"

#define NS_IMSGQUOTELISTENER_IID \
  {0x1ec75ad9, 0x88de, 0x11d3, \
    { 0x98, 0x9d, 0x00, 0x10, 0x83, 0x01, 0x0e, 0x9b }}

class NS_NO_VTABLE nsIMsgQuoteListener : public nsIMimeStreamConverterListener {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGQUOTELISTENER_IID)

  /* attribute nsIMsgQuote msgQuote; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMsgQuote(nsIMsgQuote **aMsgQuote) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMsgQuote(nsIMsgQuote *aMsgQuote) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgQuoteListener, NS_IMSGQUOTELISTENER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGQUOTELISTENER \
  NS_IMETHOD GetMsgQuote(nsIMsgQuote **aMsgQuote) override; \
  NS_IMETHOD SetMsgQuote(nsIMsgQuote *aMsgQuote) 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_NSIMSGQUOTELISTENER \
  nsresult GetMsgQuote(nsIMsgQuote **aMsgQuote); \
  nsresult SetMsgQuote(nsIMsgQuote *aMsgQuote); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGQUOTELISTENER(_to) \
  NS_IMETHOD GetMsgQuote(nsIMsgQuote **aMsgQuote) override { return _to GetMsgQuote(aMsgQuote); } \
  NS_IMETHOD SetMsgQuote(nsIMsgQuote *aMsgQuote) override { return _to SetMsgQuote(aMsgQuote); } 

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


#endif /* __gen_nsIMsgQuote_h__ */