/usr/include/thunderbird-11.0.1/nsIMsgSendReport.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mailnews/compose/public/nsIMsgSendReport.idl
*/
#ifndef __gen_nsIMsgSendReport_h__
#define __gen_nsIMsgSendReport_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsIPrompt_h__
#include "nsIPrompt.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIMsgProcessReport */
#define NS_IMSGPROCESSREPORT_IID_STR "2247c280-7f7f-11d5-9daa-994d49414e7c"
#define NS_IMSGPROCESSREPORT_IID \
{0x2247c280, 0x7f7f, 0x11d5, \
{ 0x9d, 0xaa, 0x99, 0x4d, 0x49, 0x41, 0x4e, 0x7c }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIMsgProcessReport : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGPROCESSREPORT_IID)
/* attribute boolean proceeded; */
NS_SCRIPTABLE NS_IMETHOD GetProceeded(bool *aProceeded) = 0;
NS_SCRIPTABLE NS_IMETHOD SetProceeded(bool aProceeded) = 0;
/* attribute nsresult error; */
NS_SCRIPTABLE NS_IMETHOD GetError(nsresult *aError) = 0;
NS_SCRIPTABLE NS_IMETHOD SetError(nsresult aError) = 0;
/* attribute wstring message; */
NS_SCRIPTABLE NS_IMETHOD GetMessage(PRUnichar * *aMessage) = 0;
NS_SCRIPTABLE NS_IMETHOD SetMessage(const PRUnichar * aMessage) = 0;
/* void reset (); */
NS_SCRIPTABLE NS_IMETHOD Reset(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgProcessReport, NS_IMSGPROCESSREPORT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGPROCESSREPORT \
NS_SCRIPTABLE NS_IMETHOD GetProceeded(bool *aProceeded); \
NS_SCRIPTABLE NS_IMETHOD SetProceeded(bool aProceeded); \
NS_SCRIPTABLE NS_IMETHOD GetError(nsresult *aError); \
NS_SCRIPTABLE NS_IMETHOD SetError(nsresult aError); \
NS_SCRIPTABLE NS_IMETHOD GetMessage(PRUnichar * *aMessage); \
NS_SCRIPTABLE NS_IMETHOD SetMessage(const PRUnichar * aMessage); \
NS_SCRIPTABLE NS_IMETHOD Reset(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGPROCESSREPORT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetProceeded(bool *aProceeded) { return _to GetProceeded(aProceeded); } \
NS_SCRIPTABLE NS_IMETHOD SetProceeded(bool aProceeded) { return _to SetProceeded(aProceeded); } \
NS_SCRIPTABLE NS_IMETHOD GetError(nsresult *aError) { return _to GetError(aError); } \
NS_SCRIPTABLE NS_IMETHOD SetError(nsresult aError) { return _to SetError(aError); } \
NS_SCRIPTABLE NS_IMETHOD GetMessage(PRUnichar * *aMessage) { return _to GetMessage(aMessage); } \
NS_SCRIPTABLE NS_IMETHOD SetMessage(const PRUnichar * aMessage) { return _to SetMessage(aMessage); } \
NS_SCRIPTABLE NS_IMETHOD Reset(void) { return _to Reset(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGPROCESSREPORT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetProceeded(bool *aProceeded) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProceeded(aProceeded); } \
NS_SCRIPTABLE NS_IMETHOD SetProceeded(bool aProceeded) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProceeded(aProceeded); } \
NS_SCRIPTABLE NS_IMETHOD GetError(nsresult *aError) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetError(aError); } \
NS_SCRIPTABLE NS_IMETHOD SetError(nsresult aError) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetError(aError); } \
NS_SCRIPTABLE NS_IMETHOD GetMessage(PRUnichar * *aMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessage(aMessage); } \
NS_SCRIPTABLE NS_IMETHOD SetMessage(const PRUnichar * aMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMessage(aMessage); } \
NS_SCRIPTABLE NS_IMETHOD Reset(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Reset(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgProcessReport : public nsIMsgProcessReport
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGPROCESSREPORT
nsMsgProcessReport();
private:
~nsMsgProcessReport();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMsgProcessReport, nsIMsgProcessReport)
nsMsgProcessReport::nsMsgProcessReport()
{
/* member initializers and constructor code */
}
nsMsgProcessReport::~nsMsgProcessReport()
{
/* destructor code */
}
/* attribute boolean proceeded; */
NS_IMETHODIMP nsMsgProcessReport::GetProceeded(bool *aProceeded)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgProcessReport::SetProceeded(bool aProceeded)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsresult error; */
NS_IMETHODIMP nsMsgProcessReport::GetError(nsresult *aError)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgProcessReport::SetError(nsresult aError)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute wstring message; */
NS_IMETHODIMP nsMsgProcessReport::GetMessage(PRUnichar * *aMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgProcessReport::SetMessage(const PRUnichar * aMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void reset (); */
NS_IMETHODIMP nsMsgProcessReport::Reset()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIMsgSendReport */
#define NS_IMSGSENDREPORT_IID_STR "2247c281-7f7f-11d5-9daa-994d49414e7c"
#define NS_IMSGSENDREPORT_IID \
{0x2247c281, 0x7f7f, 0x11d5, \
{ 0x9d, 0xaa, 0x99, 0x4d, 0x49, 0x41, 0x4e, 0x7c }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIMsgSendReport : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGSENDREPORT_IID)
enum {
process_Current = -1,
process_BuildMessage = 0,
process_NNTP = 1,
process_SMTP = 2,
process_Copy = 3,
process_FCC = 4
};
/* attribute long deliveryMode; */
NS_SCRIPTABLE NS_IMETHOD GetDeliveryMode(PRInt32 *aDeliveryMode) = 0;
NS_SCRIPTABLE NS_IMETHOD SetDeliveryMode(PRInt32 aDeliveryMode) = 0;
/* attribute long currentProcess; */
NS_SCRIPTABLE NS_IMETHOD GetCurrentProcess(PRInt32 *aCurrentProcess) = 0;
NS_SCRIPTABLE NS_IMETHOD SetCurrentProcess(PRInt32 aCurrentProcess) = 0;
/* void reset (); */
NS_SCRIPTABLE NS_IMETHOD Reset(void) = 0;
/* void setProceeded (in long process, in boolean proceeded); */
NS_SCRIPTABLE NS_IMETHOD SetProceeded(PRInt32 process, bool proceeded) = 0;
/* void setError (in long process, in nsresult error, in boolean overwriteError); */
NS_SCRIPTABLE NS_IMETHOD SetError(PRInt32 process, nsresult error, bool overwriteError) = 0;
/* void setMessage (in long process, in wstring message, in boolean overwriteMessage); */
NS_SCRIPTABLE NS_IMETHOD SetMessage(PRInt32 process, const PRUnichar * message, bool overwriteMessage) = 0;
/* nsIMsgProcessReport getProcessReport (in long process); */
NS_SCRIPTABLE NS_IMETHOD GetProcessReport(PRInt32 process, nsIMsgProcessReport * *_retval NS_OUTPARAM) = 0;
/* nsresult displayReport (in nsIPrompt prompt, in boolean showErrorOnly, in boolean dontShowReportTwice); */
NS_SCRIPTABLE NS_IMETHOD DisplayReport(nsIPrompt *prompt, bool showErrorOnly, bool dontShowReportTwice, nsresult *_retval NS_OUTPARAM) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgSendReport, NS_IMSGSENDREPORT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGSENDREPORT \
NS_SCRIPTABLE NS_IMETHOD GetDeliveryMode(PRInt32 *aDeliveryMode); \
NS_SCRIPTABLE NS_IMETHOD SetDeliveryMode(PRInt32 aDeliveryMode); \
NS_SCRIPTABLE NS_IMETHOD GetCurrentProcess(PRInt32 *aCurrentProcess); \
NS_SCRIPTABLE NS_IMETHOD SetCurrentProcess(PRInt32 aCurrentProcess); \
NS_SCRIPTABLE NS_IMETHOD Reset(void); \
NS_SCRIPTABLE NS_IMETHOD SetProceeded(PRInt32 process, bool proceeded); \
NS_SCRIPTABLE NS_IMETHOD SetError(PRInt32 process, nsresult error, bool overwriteError); \
NS_SCRIPTABLE NS_IMETHOD SetMessage(PRInt32 process, const PRUnichar * message, bool overwriteMessage); \
NS_SCRIPTABLE NS_IMETHOD GetProcessReport(PRInt32 process, nsIMsgProcessReport * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD DisplayReport(nsIPrompt *prompt, bool showErrorOnly, bool dontShowReportTwice, nsresult *_retval NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGSENDREPORT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetDeliveryMode(PRInt32 *aDeliveryMode) { return _to GetDeliveryMode(aDeliveryMode); } \
NS_SCRIPTABLE NS_IMETHOD SetDeliveryMode(PRInt32 aDeliveryMode) { return _to SetDeliveryMode(aDeliveryMode); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentProcess(PRInt32 *aCurrentProcess) { return _to GetCurrentProcess(aCurrentProcess); } \
NS_SCRIPTABLE NS_IMETHOD SetCurrentProcess(PRInt32 aCurrentProcess) { return _to SetCurrentProcess(aCurrentProcess); } \
NS_SCRIPTABLE NS_IMETHOD Reset(void) { return _to Reset(); } \
NS_SCRIPTABLE NS_IMETHOD SetProceeded(PRInt32 process, bool proceeded) { return _to SetProceeded(process, proceeded); } \
NS_SCRIPTABLE NS_IMETHOD SetError(PRInt32 process, nsresult error, bool overwriteError) { return _to SetError(process, error, overwriteError); } \
NS_SCRIPTABLE NS_IMETHOD SetMessage(PRInt32 process, const PRUnichar * message, bool overwriteMessage) { return _to SetMessage(process, message, overwriteMessage); } \
NS_SCRIPTABLE NS_IMETHOD GetProcessReport(PRInt32 process, nsIMsgProcessReport * *_retval NS_OUTPARAM) { return _to GetProcessReport(process, _retval); } \
NS_SCRIPTABLE NS_IMETHOD DisplayReport(nsIPrompt *prompt, bool showErrorOnly, bool dontShowReportTwice, nsresult *_retval NS_OUTPARAM) { return _to DisplayReport(prompt, showErrorOnly, dontShowReportTwice, _retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGSENDREPORT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetDeliveryMode(PRInt32 *aDeliveryMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDeliveryMode(aDeliveryMode); } \
NS_SCRIPTABLE NS_IMETHOD SetDeliveryMode(PRInt32 aDeliveryMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDeliveryMode(aDeliveryMode); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentProcess(PRInt32 *aCurrentProcess) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentProcess(aCurrentProcess); } \
NS_SCRIPTABLE NS_IMETHOD SetCurrentProcess(PRInt32 aCurrentProcess) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentProcess(aCurrentProcess); } \
NS_SCRIPTABLE NS_IMETHOD Reset(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Reset(); } \
NS_SCRIPTABLE NS_IMETHOD SetProceeded(PRInt32 process, bool proceeded) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProceeded(process, proceeded); } \
NS_SCRIPTABLE NS_IMETHOD SetError(PRInt32 process, nsresult error, bool overwriteError) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetError(process, error, overwriteError); } \
NS_SCRIPTABLE NS_IMETHOD SetMessage(PRInt32 process, const PRUnichar * message, bool overwriteMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMessage(process, message, overwriteMessage); } \
NS_SCRIPTABLE NS_IMETHOD GetProcessReport(PRInt32 process, nsIMsgProcessReport * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProcessReport(process, _retval); } \
NS_SCRIPTABLE NS_IMETHOD DisplayReport(nsIPrompt *prompt, bool showErrorOnly, bool dontShowReportTwice, nsresult *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplayReport(prompt, showErrorOnly, dontShowReportTwice, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgSendReport : public nsIMsgSendReport
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGSENDREPORT
nsMsgSendReport();
private:
~nsMsgSendReport();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMsgSendReport, nsIMsgSendReport)
nsMsgSendReport::nsMsgSendReport()
{
/* member initializers and constructor code */
}
nsMsgSendReport::~nsMsgSendReport()
{
/* destructor code */
}
/* attribute long deliveryMode; */
NS_IMETHODIMP nsMsgSendReport::GetDeliveryMode(PRInt32 *aDeliveryMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgSendReport::SetDeliveryMode(PRInt32 aDeliveryMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long currentProcess; */
NS_IMETHODIMP nsMsgSendReport::GetCurrentProcess(PRInt32 *aCurrentProcess)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgSendReport::SetCurrentProcess(PRInt32 aCurrentProcess)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void reset (); */
NS_IMETHODIMP nsMsgSendReport::Reset()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setProceeded (in long process, in boolean proceeded); */
NS_IMETHODIMP nsMsgSendReport::SetProceeded(PRInt32 process, bool proceeded)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setError (in long process, in nsresult error, in boolean overwriteError); */
NS_IMETHODIMP nsMsgSendReport::SetError(PRInt32 process, nsresult error, bool overwriteError)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setMessage (in long process, in wstring message, in boolean overwriteMessage); */
NS_IMETHODIMP nsMsgSendReport::SetMessage(PRInt32 process, const PRUnichar * message, bool overwriteMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIMsgProcessReport getProcessReport (in long process); */
NS_IMETHODIMP nsMsgSendReport::GetProcessReport(PRInt32 process, nsIMsgProcessReport * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsresult displayReport (in nsIPrompt prompt, in boolean showErrorOnly, in boolean dontShowReportTwice); */
NS_IMETHODIMP nsMsgSendReport::DisplayReport(nsIPrompt *prompt, bool showErrorOnly, bool dontShowReportTwice, nsresult *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIMsgSendReport_h__ */
|