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

#ifndef __gen_nsIMimeMiscStatus_h__
#define __gen_nsIMimeMiscStatus_h__


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

#ifndef __gen_nsrootidl_h__
#include "nsrootidl.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 nsIChannel; /* forward declaration */

class nsIMsgMailNewsUrl; /* forward declaration */

class nsIUTF8StringEnumerator; /* forward declaration */

class nsIMsgDBHdr; /* forward declaration */

class nsIURI; /* forward declaration */

class nsIWritablePropertyBag2; /* forward declaration */


/* starting interface:    nsIMimeMiscStatus */
#define NS_IMIMEMISCSTATUS_IID_STR "4644fb25-5255-11d3-82b8-444553540002"

#define NS_IMIMEMISCSTATUS_IID \
  {0x4644fb25, 0x5255, 0x11d3, \
    { 0x82, 0xb8, 0x44, 0x45, 0x53, 0x54, 0x00, 0x02 }}

class NS_NO_VTABLE nsIMimeMiscStatus : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMIMEMISCSTATUS_IID)

  /* string GetWindowXULandJS (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetWindowXULandJS(char * *_retval) = 0;

  /* string GetGlobalXULandJS (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetGlobalXULandJS(char * *_retval) = 0;

  /* string GetIndividualXUL (in string aName, in string aHeader, in string aEmail); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIndividualXUL(const char * aName, const char * aHeader, const char * aEmail, char * *_retval) = 0;

  /* long GetMiscStatus (in string aName, in string aEmail); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMiscStatus(const char * aName, const char * aEmail, int32_t *_retval) = 0;

  /* string GetImageURL (in long aStatus); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetImageURL(int32_t aStatus, char * *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMimeMiscStatus, NS_IMIMEMISCSTATUS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMIMEMISCSTATUS \
  NS_IMETHOD GetWindowXULandJS(char * *_retval) override; \
  NS_IMETHOD GetGlobalXULandJS(char * *_retval) override; \
  NS_IMETHOD GetIndividualXUL(const char * aName, const char * aHeader, const char * aEmail, char * *_retval) override; \
  NS_IMETHOD GetMiscStatus(const char * aName, const char * aEmail, int32_t *_retval) override; \
  NS_IMETHOD GetImageURL(int32_t aStatus, char * *_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_NSIMIMEMISCSTATUS \
  nsresult GetWindowXULandJS(char * *_retval); \
  nsresult GetGlobalXULandJS(char * *_retval); \
  nsresult GetIndividualXUL(const char * aName, const char * aHeader, const char * aEmail, char * *_retval); \
  nsresult GetMiscStatus(const char * aName, const char * aEmail, int32_t *_retval); \
  nsresult GetImageURL(int32_t aStatus, char * *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMIMEMISCSTATUS(_to) \
  NS_IMETHOD GetWindowXULandJS(char * *_retval) override { return _to GetWindowXULandJS(_retval); } \
  NS_IMETHOD GetGlobalXULandJS(char * *_retval) override { return _to GetGlobalXULandJS(_retval); } \
  NS_IMETHOD GetIndividualXUL(const char * aName, const char * aHeader, const char * aEmail, char * *_retval) override { return _to GetIndividualXUL(aName, aHeader, aEmail, _retval); } \
  NS_IMETHOD GetMiscStatus(const char * aName, const char * aEmail, int32_t *_retval) override { return _to GetMiscStatus(aName, aEmail, _retval); } \
  NS_IMETHOD GetImageURL(int32_t aStatus, char * *_retval) override { return _to GetImageURL(aStatus, _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_NSIMIMEMISCSTATUS(_to) \
  NS_IMETHOD GetWindowXULandJS(char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWindowXULandJS(_retval); } \
  NS_IMETHOD GetGlobalXULandJS(char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGlobalXULandJS(_retval); } \
  NS_IMETHOD GetIndividualXUL(const char * aName, const char * aHeader, const char * aEmail, char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIndividualXUL(aName, aHeader, aEmail, _retval); } \
  NS_IMETHOD GetMiscStatus(const char * aName, const char * aEmail, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMiscStatus(aName, aEmail, _retval); } \
  NS_IMETHOD GetImageURL(int32_t aStatus, char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImageURL(aStatus, _retval); } 


/* starting interface:    nsIMsgHeaderSink */
#define NS_IMSGHEADERSINK_IID_STR "e0e821f0-cecf-4cb3-be5b-ee58b6868343"

#define NS_IMSGHEADERSINK_IID \
  {0xe0e821f0, 0xcecf, 0x4cb3, \
    { 0xbe, 0x5b, 0xee, 0x58, 0xb6, 0x86, 0x83, 0x43 }}

class NS_NO_VTABLE nsIMsgHeaderSink : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGHEADERSINK_IID)

  /* void processHeaders (in nsIUTF8StringEnumerator aHeaderNames, in nsIUTF8StringEnumerator aHeaderValues, in boolean dontCollectAddress); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ProcessHeaders(nsIUTF8StringEnumerator *aHeaderNames, nsIUTF8StringEnumerator *aHeaderValues, bool dontCollectAddress) = 0;

  /* void handleAttachment (in string contentType, in string url, in wstring displayName, in string uri, in boolean aNotDownloaded); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD HandleAttachment(const char * contentType, const char * url, const char16_t * displayName, const char * uri, bool aNotDownloaded) = 0;

  /* void addAttachmentField (in string field, in string value); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddAttachmentField(const char * field, const char * value) = 0;

  /* void onEndAllAttachments (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnEndAllAttachments(void) = 0;

  /* void onEndMsgHeaders (in nsIMsgMailNewsUrl url); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnEndMsgHeaders(nsIMsgMailNewsUrl *url) = 0;

  /* void onEndMsgDownload (in nsIMsgMailNewsUrl url); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnEndMsgDownload(nsIMsgMailNewsUrl *url) = 0;

  /* attribute nsISupports securityInfo; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSecurityInfo(nsISupports **aSecurityInfo) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSecurityInfo(nsISupports *aSecurityInfo) = 0;

  /* void onMsgHasRemoteContent (in nsIMsgDBHdr aMsgHdr, in nsIURI aContentURI, in boolean aCanOverride); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnMsgHasRemoteContent(nsIMsgDBHdr *aMsgHdr, nsIURI *aContentURI, bool aCanOverride) = 0;

  /* readonly attribute nsIMsgDBHdr dummyMsgHeader; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDummyMsgHeader(nsIMsgDBHdr **aDummyMsgHeader) = 0;

  /* readonly attribute nsIWritablePropertyBag2 properties; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetProperties(nsIWritablePropertyBag2 **aProperties) = 0;

  /* void resetProperties (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ResetProperties(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgHeaderSink, NS_IMSGHEADERSINK_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGHEADERSINK \
  NS_IMETHOD ProcessHeaders(nsIUTF8StringEnumerator *aHeaderNames, nsIUTF8StringEnumerator *aHeaderValues, bool dontCollectAddress) override; \
  NS_IMETHOD HandleAttachment(const char * contentType, const char * url, const char16_t * displayName, const char * uri, bool aNotDownloaded) override; \
  NS_IMETHOD AddAttachmentField(const char * field, const char * value) override; \
  NS_IMETHOD OnEndAllAttachments(void) override; \
  NS_IMETHOD OnEndMsgHeaders(nsIMsgMailNewsUrl *url) override; \
  NS_IMETHOD OnEndMsgDownload(nsIMsgMailNewsUrl *url) override; \
  NS_IMETHOD GetSecurityInfo(nsISupports **aSecurityInfo) override; \
  NS_IMETHOD SetSecurityInfo(nsISupports *aSecurityInfo) override; \
  NS_IMETHOD OnMsgHasRemoteContent(nsIMsgDBHdr *aMsgHdr, nsIURI *aContentURI, bool aCanOverride) override; \
  NS_IMETHOD GetDummyMsgHeader(nsIMsgDBHdr **aDummyMsgHeader) override; \
  NS_IMETHOD GetProperties(nsIWritablePropertyBag2 **aProperties) override; \
  NS_IMETHOD ResetProperties(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_NSIMSGHEADERSINK \
  nsresult ProcessHeaders(nsIUTF8StringEnumerator *aHeaderNames, nsIUTF8StringEnumerator *aHeaderValues, bool dontCollectAddress); \
  nsresult HandleAttachment(const char * contentType, const char * url, const char16_t * displayName, const char * uri, bool aNotDownloaded); \
  nsresult AddAttachmentField(const char * field, const char * value); \
  nsresult OnEndAllAttachments(void); \
  nsresult OnEndMsgHeaders(nsIMsgMailNewsUrl *url); \
  nsresult OnEndMsgDownload(nsIMsgMailNewsUrl *url); \
  nsresult GetSecurityInfo(nsISupports **aSecurityInfo); \
  nsresult SetSecurityInfo(nsISupports *aSecurityInfo); \
  nsresult OnMsgHasRemoteContent(nsIMsgDBHdr *aMsgHdr, nsIURI *aContentURI, bool aCanOverride); \
  nsresult GetDummyMsgHeader(nsIMsgDBHdr **aDummyMsgHeader); \
  nsresult GetProperties(nsIWritablePropertyBag2 **aProperties); \
  nsresult ResetProperties(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGHEADERSINK(_to) \
  NS_IMETHOD ProcessHeaders(nsIUTF8StringEnumerator *aHeaderNames, nsIUTF8StringEnumerator *aHeaderValues, bool dontCollectAddress) override { return _to ProcessHeaders(aHeaderNames, aHeaderValues, dontCollectAddress); } \
  NS_IMETHOD HandleAttachment(const char * contentType, const char * url, const char16_t * displayName, const char * uri, bool aNotDownloaded) override { return _to HandleAttachment(contentType, url, displayName, uri, aNotDownloaded); } \
  NS_IMETHOD AddAttachmentField(const char * field, const char * value) override { return _to AddAttachmentField(field, value); } \
  NS_IMETHOD OnEndAllAttachments(void) override { return _to OnEndAllAttachments(); } \
  NS_IMETHOD OnEndMsgHeaders(nsIMsgMailNewsUrl *url) override { return _to OnEndMsgHeaders(url); } \
  NS_IMETHOD OnEndMsgDownload(nsIMsgMailNewsUrl *url) override { return _to OnEndMsgDownload(url); } \
  NS_IMETHOD GetSecurityInfo(nsISupports **aSecurityInfo) override { return _to GetSecurityInfo(aSecurityInfo); } \
  NS_IMETHOD SetSecurityInfo(nsISupports *aSecurityInfo) override { return _to SetSecurityInfo(aSecurityInfo); } \
  NS_IMETHOD OnMsgHasRemoteContent(nsIMsgDBHdr *aMsgHdr, nsIURI *aContentURI, bool aCanOverride) override { return _to OnMsgHasRemoteContent(aMsgHdr, aContentURI, aCanOverride); } \
  NS_IMETHOD GetDummyMsgHeader(nsIMsgDBHdr **aDummyMsgHeader) override { return _to GetDummyMsgHeader(aDummyMsgHeader); } \
  NS_IMETHOD GetProperties(nsIWritablePropertyBag2 **aProperties) override { return _to GetProperties(aProperties); } \
  NS_IMETHOD ResetProperties(void) override { return _to ResetProperties(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGHEADERSINK(_to) \
  NS_IMETHOD ProcessHeaders(nsIUTF8StringEnumerator *aHeaderNames, nsIUTF8StringEnumerator *aHeaderValues, bool dontCollectAddress) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ProcessHeaders(aHeaderNames, aHeaderValues, dontCollectAddress); } \
  NS_IMETHOD HandleAttachment(const char * contentType, const char * url, const char16_t * displayName, const char * uri, bool aNotDownloaded) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleAttachment(contentType, url, displayName, uri, aNotDownloaded); } \
  NS_IMETHOD AddAttachmentField(const char * field, const char * value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddAttachmentField(field, value); } \
  NS_IMETHOD OnEndAllAttachments(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnEndAllAttachments(); } \
  NS_IMETHOD OnEndMsgHeaders(nsIMsgMailNewsUrl *url) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnEndMsgHeaders(url); } \
  NS_IMETHOD OnEndMsgDownload(nsIMsgMailNewsUrl *url) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnEndMsgDownload(url); } \
  NS_IMETHOD GetSecurityInfo(nsISupports **aSecurityInfo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSecurityInfo(aSecurityInfo); } \
  NS_IMETHOD SetSecurityInfo(nsISupports *aSecurityInfo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSecurityInfo(aSecurityInfo); } \
  NS_IMETHOD OnMsgHasRemoteContent(nsIMsgDBHdr *aMsgHdr, nsIURI *aContentURI, bool aCanOverride) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnMsgHasRemoteContent(aMsgHdr, aContentURI, aCanOverride); } \
  NS_IMETHOD GetDummyMsgHeader(nsIMsgDBHdr **aDummyMsgHeader) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDummyMsgHeader(aDummyMsgHeader); } \
  NS_IMETHOD GetProperties(nsIWritablePropertyBag2 **aProperties) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProperties(aProperties); } \
  NS_IMETHOD ResetProperties(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetProperties(); } 


#endif /* __gen_nsIMimeMiscStatus_h__ */