/usr/include/thunderbird/nsIMsgQuote.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/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
/* 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); */
NS_IMETHOD QuoteMessage(const char * msgURI, bool quoteHeaders, nsIMsgQuotingOutputStreamListener *streamListener, const char * charset, bool headersOnly, nsIMsgDBHdr *aOrigHdr) = 0;
/* readonly attribute nsIMimeStreamConverterListener quoteListener; */
NS_IMETHOD GetQuoteListener(nsIMimeStreamConverterListener * *aQuoteListener) = 0;
/* readonly attribute nsIChannel quoteChannel; */
NS_IMETHOD GetQuoteChannel(nsIChannel * *aQuoteChannel) = 0;
/* readonly attribute nsIMsgQuotingOutputStreamListener streamListener; */
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 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); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgQuote : public nsIMsgQuote
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGQUOTE
nsMsgQuote();
private:
~nsMsgQuote();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgQuote, nsIMsgQuote)
nsMsgQuote::nsMsgQuote()
{
/* member initializers and constructor code */
}
nsMsgQuote::~nsMsgQuote()
{
/* destructor code */
}
/* void quoteMessage (in string msgURI, in boolean quoteHeaders, in nsIMsgQuotingOutputStreamListener streamListener, in string charset, in boolean headersOnly, in nsIMsgDBHdr aOrigHdr); */
NS_IMETHODIMP nsMsgQuote::QuoteMessage(const char * msgURI, bool quoteHeaders, nsIMsgQuotingOutputStreamListener *streamListener, const char * charset, bool headersOnly, nsIMsgDBHdr *aOrigHdr)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIMimeStreamConverterListener quoteListener; */
NS_IMETHODIMP nsMsgQuote::GetQuoteListener(nsIMimeStreamConverterListener * *aQuoteListener)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIChannel quoteChannel; */
NS_IMETHODIMP nsMsgQuote::GetQuoteChannel(nsIChannel * *aQuoteChannel)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIMsgQuotingOutputStreamListener streamListener; */
NS_IMETHODIMP nsMsgQuote::GetStreamListener(nsIMsgQuotingOutputStreamListener * *aStreamListener)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* 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; */
NS_IMETHOD GetMsgQuote(nsIMsgQuote * *aMsgQuote) = 0;
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 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); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgQuoteListener : public nsIMsgQuoteListener
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGQUOTELISTENER
nsMsgQuoteListener();
private:
~nsMsgQuoteListener();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgQuoteListener, nsIMsgQuoteListener)
nsMsgQuoteListener::nsMsgQuoteListener()
{
/* member initializers and constructor code */
}
nsMsgQuoteListener::~nsMsgQuoteListener()
{
/* destructor code */
}
/* attribute nsIMsgQuote msgQuote; */
NS_IMETHODIMP nsMsgQuoteListener::GetMsgQuote(nsIMsgQuote * *aMsgQuote)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgQuoteListener::SetMsgQuote(nsIMsgQuote *aMsgQuote)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIMsgQuote_h__ */
|