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

#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

/* starting interface:    nsIMsgProcessReport */
#define NS_IMSGPROCESSREPORT_IID_STR "2ec81175-bc65-44b9-ba87-462bc3f938db"

#define NS_IMSGPROCESSREPORT_IID \
  {0x2ec81175, 0xbc65, 0x44b9, \
    { 0xba, 0x87, 0x46, 0x2b, 0xc3, 0xf9, 0x38, 0xdb }}

class NS_NO_VTABLE nsIMsgProcessReport : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGPROCESSREPORT_IID)

  /* attribute boolean proceeded; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetProceeded(bool *aProceeded) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetProceeded(bool aProceeded) = 0;

  /* attribute nsresult error; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetError(nsresult *aError) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetError(nsresult aError) = 0;

  /* attribute wstring message; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMessage(char16_t * *aMessage) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMessage(const char16_t * aMessage) = 0;

  /* void reset (); */
  JS_HAZ_CAN_RUN_SCRIPT 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_IMETHOD GetProceeded(bool *aProceeded) override; \
  NS_IMETHOD SetProceeded(bool aProceeded) override; \
  NS_IMETHOD GetError(nsresult *aError) override; \
  NS_IMETHOD SetError(nsresult aError) override; \
  NS_IMETHOD GetMessage(char16_t * *aMessage) override; \
  NS_IMETHOD SetMessage(const char16_t * aMessage) override; \
  NS_IMETHOD Reset(void) 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_NSIMSGPROCESSREPORT \
  nsresult GetProceeded(bool *aProceeded); \
  nsresult SetProceeded(bool aProceeded); \
  nsresult GetError(nsresult *aError); \
  nsresult SetError(nsresult aError); \
  nsresult GetMessage(char16_t * *aMessage); \
  nsresult SetMessage(const char16_t * aMessage); \
  nsresult Reset(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGPROCESSREPORT(_to) \
  NS_IMETHOD GetProceeded(bool *aProceeded) override { return _to GetProceeded(aProceeded); } \
  NS_IMETHOD SetProceeded(bool aProceeded) override { return _to SetProceeded(aProceeded); } \
  NS_IMETHOD GetError(nsresult *aError) override { return _to GetError(aError); } \
  NS_IMETHOD SetError(nsresult aError) override { return _to SetError(aError); } \
  NS_IMETHOD GetMessage(char16_t * *aMessage) override { return _to GetMessage(aMessage); } \
  NS_IMETHOD SetMessage(const char16_t * aMessage) override { return _to SetMessage(aMessage); } \
  NS_IMETHOD Reset(void) override { 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_IMETHOD GetProceeded(bool *aProceeded) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProceeded(aProceeded); } \
  NS_IMETHOD SetProceeded(bool aProceeded) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProceeded(aProceeded); } \
  NS_IMETHOD GetError(nsresult *aError) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetError(aError); } \
  NS_IMETHOD SetError(nsresult aError) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetError(aError); } \
  NS_IMETHOD GetMessage(char16_t * *aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessage(aMessage); } \
  NS_IMETHOD SetMessage(const char16_t * aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMessage(aMessage); } \
  NS_IMETHOD Reset(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Reset(); } 


/* starting interface:    nsIMsgSendReport */
#define NS_IMSGSENDREPORT_IID_STR "428c5bde-29f5-4bfe-830a-ec795a1c2975"

#define NS_IMSGSENDREPORT_IID \
  {0x428c5bde, 0x29f5, 0x4bfe, \
    { 0x83, 0x0a, 0xec, 0x79, 0x5a, 0x1c, 0x29, 0x75 }}

class NS_NO_VTABLE 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_Filter = 4,
    process_FCC = 5
  };

  /* attribute long deliveryMode; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDeliveryMode(int32_t *aDeliveryMode) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDeliveryMode(int32_t aDeliveryMode) = 0;

  /* attribute long currentProcess; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCurrentProcess(int32_t *aCurrentProcess) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCurrentProcess(int32_t aCurrentProcess) = 0;

  /* void reset (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Reset(void) = 0;

  /* void setProceeded (in long process, in boolean proceeded); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetProceeded(int32_t process, bool proceeded) = 0;

  /* void setError (in long process, in nsresult error, in boolean overwriteError); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetError(int32_t process, nsresult error, bool overwriteError) = 0;

  /* void setMessage (in long process, in wstring message, in boolean overwriteMessage); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMessage(int32_t process, const char16_t * message, bool overwriteMessage) = 0;

  /* nsIMsgProcessReport getProcessReport (in long process); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetProcessReport(int32_t process, nsIMsgProcessReport **_retval) = 0;

  /* nsresult displayReport (in nsIPrompt prompt, in boolean showErrorOnly, in boolean dontShowReportTwice); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DisplayReport(nsIPrompt *prompt, bool showErrorOnly, bool dontShowReportTwice, nsresult *_retval) = 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_IMETHOD GetDeliveryMode(int32_t *aDeliveryMode) override; \
  NS_IMETHOD SetDeliveryMode(int32_t aDeliveryMode) override; \
  NS_IMETHOD GetCurrentProcess(int32_t *aCurrentProcess) override; \
  NS_IMETHOD SetCurrentProcess(int32_t aCurrentProcess) override; \
  NS_IMETHOD Reset(void) override; \
  NS_IMETHOD SetProceeded(int32_t process, bool proceeded) override; \
  NS_IMETHOD SetError(int32_t process, nsresult error, bool overwriteError) override; \
  NS_IMETHOD SetMessage(int32_t process, const char16_t * message, bool overwriteMessage) override; \
  NS_IMETHOD GetProcessReport(int32_t process, nsIMsgProcessReport **_retval) override; \
  NS_IMETHOD DisplayReport(nsIPrompt *prompt, bool showErrorOnly, bool dontShowReportTwice, nsresult *_retval) 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_NSIMSGSENDREPORT \
  nsresult GetDeliveryMode(int32_t *aDeliveryMode); \
  nsresult SetDeliveryMode(int32_t aDeliveryMode); \
  nsresult GetCurrentProcess(int32_t *aCurrentProcess); \
  nsresult SetCurrentProcess(int32_t aCurrentProcess); \
  nsresult Reset(void); \
  nsresult SetProceeded(int32_t process, bool proceeded); \
  nsresult SetError(int32_t process, nsresult error, bool overwriteError); \
  nsresult SetMessage(int32_t process, const char16_t * message, bool overwriteMessage); \
  nsresult GetProcessReport(int32_t process, nsIMsgProcessReport **_retval); \
  nsresult DisplayReport(nsIPrompt *prompt, bool showErrorOnly, bool dontShowReportTwice, nsresult *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGSENDREPORT(_to) \
  NS_IMETHOD GetDeliveryMode(int32_t *aDeliveryMode) override { return _to GetDeliveryMode(aDeliveryMode); } \
  NS_IMETHOD SetDeliveryMode(int32_t aDeliveryMode) override { return _to SetDeliveryMode(aDeliveryMode); } \
  NS_IMETHOD GetCurrentProcess(int32_t *aCurrentProcess) override { return _to GetCurrentProcess(aCurrentProcess); } \
  NS_IMETHOD SetCurrentProcess(int32_t aCurrentProcess) override { return _to SetCurrentProcess(aCurrentProcess); } \
  NS_IMETHOD Reset(void) override { return _to Reset(); } \
  NS_IMETHOD SetProceeded(int32_t process, bool proceeded) override { return _to SetProceeded(process, proceeded); } \
  NS_IMETHOD SetError(int32_t process, nsresult error, bool overwriteError) override { return _to SetError(process, error, overwriteError); } \
  NS_IMETHOD SetMessage(int32_t process, const char16_t * message, bool overwriteMessage) override { return _to SetMessage(process, message, overwriteMessage); } \
  NS_IMETHOD GetProcessReport(int32_t process, nsIMsgProcessReport **_retval) override { return _to GetProcessReport(process, _retval); } \
  NS_IMETHOD DisplayReport(nsIPrompt *prompt, bool showErrorOnly, bool dontShowReportTwice, nsresult *_retval) override { 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_IMETHOD GetDeliveryMode(int32_t *aDeliveryMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDeliveryMode(aDeliveryMode); } \
  NS_IMETHOD SetDeliveryMode(int32_t aDeliveryMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDeliveryMode(aDeliveryMode); } \
  NS_IMETHOD GetCurrentProcess(int32_t *aCurrentProcess) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentProcess(aCurrentProcess); } \
  NS_IMETHOD SetCurrentProcess(int32_t aCurrentProcess) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentProcess(aCurrentProcess); } \
  NS_IMETHOD Reset(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Reset(); } \
  NS_IMETHOD SetProceeded(int32_t process, bool proceeded) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProceeded(process, proceeded); } \
  NS_IMETHOD SetError(int32_t process, nsresult error, bool overwriteError) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetError(process, error, overwriteError); } \
  NS_IMETHOD SetMessage(int32_t process, const char16_t * message, bool overwriteMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMessage(process, message, overwriteMessage); } \
  NS_IMETHOD GetProcessReport(int32_t process, nsIMsgProcessReport **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProcessReport(process, _retval); } \
  NS_IMETHOD DisplayReport(nsIPrompt *prompt, bool showErrorOnly, bool dontShowReportTwice, nsresult *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplayReport(prompt, showErrorOnly, dontShowReportTwice, _retval); } 


#endif /* __gen_nsIMsgSendReport_h__ */