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 214 215 216 217 218 219 220 221 222 223 224 225
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/compose/public/nsIMsgAttachment.idl
 */

#ifndef __gen_nsIMsgAttachment_h__
#define __gen_nsIMsgAttachment_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.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:    nsIMsgAttachment */
#define NS_IMSGATTACHMENT_IID_STR "d17d2d60-ec3a-46de-8bd1-24c77dd9b87b"

#define NS_IMSGATTACHMENT_IID \
  {0xd17d2d60, 0xec3a, 0x46de, \
    { 0x8b, 0xd1, 0x24, 0xc7, 0x7d, 0xd9, 0xb8, 0x7b }}

class NS_NO_VTABLE nsIMsgAttachment : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGATTACHMENT_IID)

  /* attribute AString name; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetName(nsAString& aName) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetName(const nsAString& aName) = 0;

  /* attribute AUTF8String url; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUrl(nsACString& aUrl) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetUrl(const nsACString& aUrl) = 0;

  /* attribute ACString urlCharset; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUrlCharset(nsACString& aUrlCharset) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetUrlCharset(const nsACString& aUrlCharset) = 0;

  /* attribute boolean temporary; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTemporary(bool *aTemporary) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetTemporary(bool aTemporary) = 0;

  /* attribute boolean sendViaCloud; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSendViaCloud(bool *aSendViaCloud) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSendViaCloud(bool aSendViaCloud) = 0;

  /* attribute ACString cloudProviderKey; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCloudProviderKey(nsACString& aCloudProviderKey) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCloudProviderKey(const nsACString& aCloudProviderKey) = 0;

  /* attribute AString htmlAnnotation; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHtmlAnnotation(nsAString& aHtmlAnnotation) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetHtmlAnnotation(const nsAString& aHtmlAnnotation) = 0;

  /* attribute ACString contentLocation; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetContentLocation(nsACString& aContentLocation) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetContentLocation(const nsACString& aContentLocation) = 0;

  /* attribute string contentType; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetContentType(char * *aContentType) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetContentType(const char * aContentType) = 0;

  /* attribute string contentTypeParam; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetContentTypeParam(char * *aContentTypeParam) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetContentTypeParam(const char * aContentTypeParam) = 0;

  /* attribute string charset; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCharset(char * *aCharset) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCharset(const char * aCharset) = 0;

  /* attribute int64_t size; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSize(int64_t *aSize) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSize(int64_t aSize) = 0;

  /* attribute string macType; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMacType(char * *aMacType) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMacType(const char * aMacType) = 0;

  /* attribute string macCreator; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMacCreator(char * *aMacCreator) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMacCreator(const char * aMacCreator) = 0;

  /* boolean equalsUrl (in nsIMsgAttachment attachment); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD EqualsUrl(nsIMsgAttachment *attachment, bool *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgAttachment, NS_IMSGATTACHMENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGATTACHMENT \
  NS_IMETHOD GetName(nsAString& aName) override; \
  NS_IMETHOD SetName(const nsAString& aName) override; \
  NS_IMETHOD GetUrl(nsACString& aUrl) override; \
  NS_IMETHOD SetUrl(const nsACString& aUrl) override; \
  NS_IMETHOD GetUrlCharset(nsACString& aUrlCharset) override; \
  NS_IMETHOD SetUrlCharset(const nsACString& aUrlCharset) override; \
  NS_IMETHOD GetTemporary(bool *aTemporary) override; \
  NS_IMETHOD SetTemporary(bool aTemporary) override; \
  NS_IMETHOD GetSendViaCloud(bool *aSendViaCloud) override; \
  NS_IMETHOD SetSendViaCloud(bool aSendViaCloud) override; \
  NS_IMETHOD GetCloudProviderKey(nsACString& aCloudProviderKey) override; \
  NS_IMETHOD SetCloudProviderKey(const nsACString& aCloudProviderKey) override; \
  NS_IMETHOD GetHtmlAnnotation(nsAString& aHtmlAnnotation) override; \
  NS_IMETHOD SetHtmlAnnotation(const nsAString& aHtmlAnnotation) override; \
  NS_IMETHOD GetContentLocation(nsACString& aContentLocation) override; \
  NS_IMETHOD SetContentLocation(const nsACString& aContentLocation) override; \
  NS_IMETHOD GetContentType(char * *aContentType) override; \
  NS_IMETHOD SetContentType(const char * aContentType) override; \
  NS_IMETHOD GetContentTypeParam(char * *aContentTypeParam) override; \
  NS_IMETHOD SetContentTypeParam(const char * aContentTypeParam) override; \
  NS_IMETHOD GetCharset(char * *aCharset) override; \
  NS_IMETHOD SetCharset(const char * aCharset) override; \
  NS_IMETHOD GetSize(int64_t *aSize) override; \
  NS_IMETHOD SetSize(int64_t aSize) override; \
  NS_IMETHOD GetMacType(char * *aMacType) override; \
  NS_IMETHOD SetMacType(const char * aMacType) override; \
  NS_IMETHOD GetMacCreator(char * *aMacCreator) override; \
  NS_IMETHOD SetMacCreator(const char * aMacCreator) override; \
  NS_IMETHOD EqualsUrl(nsIMsgAttachment *attachment, bool *_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_NSIMSGATTACHMENT \
  nsresult GetName(nsAString& aName); \
  nsresult SetName(const nsAString& aName); \
  nsresult GetUrl(nsACString& aUrl); \
  nsresult SetUrl(const nsACString& aUrl); \
  nsresult GetUrlCharset(nsACString& aUrlCharset); \
  nsresult SetUrlCharset(const nsACString& aUrlCharset); \
  nsresult GetTemporary(bool *aTemporary); \
  nsresult SetTemporary(bool aTemporary); \
  nsresult GetSendViaCloud(bool *aSendViaCloud); \
  nsresult SetSendViaCloud(bool aSendViaCloud); \
  nsresult GetCloudProviderKey(nsACString& aCloudProviderKey); \
  nsresult SetCloudProviderKey(const nsACString& aCloudProviderKey); \
  nsresult GetHtmlAnnotation(nsAString& aHtmlAnnotation); \
  nsresult SetHtmlAnnotation(const nsAString& aHtmlAnnotation); \
  nsresult GetContentLocation(nsACString& aContentLocation); \
  nsresult SetContentLocation(const nsACString& aContentLocation); \
  nsresult GetContentType(char * *aContentType); \
  nsresult SetContentType(const char * aContentType); \
  nsresult GetContentTypeParam(char * *aContentTypeParam); \
  nsresult SetContentTypeParam(const char * aContentTypeParam); \
  nsresult GetCharset(char * *aCharset); \
  nsresult SetCharset(const char * aCharset); \
  nsresult GetSize(int64_t *aSize); \
  nsresult SetSize(int64_t aSize); \
  nsresult GetMacType(char * *aMacType); \
  nsresult SetMacType(const char * aMacType); \
  nsresult GetMacCreator(char * *aMacCreator); \
  nsresult SetMacCreator(const char * aMacCreator); \
  nsresult EqualsUrl(nsIMsgAttachment *attachment, bool *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGATTACHMENT(_to) \
  NS_IMETHOD GetName(nsAString& aName) override { return _to GetName(aName); } \
  NS_IMETHOD SetName(const nsAString& aName) override { return _to SetName(aName); } \
  NS_IMETHOD GetUrl(nsACString& aUrl) override { return _to GetUrl(aUrl); } \
  NS_IMETHOD SetUrl(const nsACString& aUrl) override { return _to SetUrl(aUrl); } \
  NS_IMETHOD GetUrlCharset(nsACString& aUrlCharset) override { return _to GetUrlCharset(aUrlCharset); } \
  NS_IMETHOD SetUrlCharset(const nsACString& aUrlCharset) override { return _to SetUrlCharset(aUrlCharset); } \
  NS_IMETHOD GetTemporary(bool *aTemporary) override { return _to GetTemporary(aTemporary); } \
  NS_IMETHOD SetTemporary(bool aTemporary) override { return _to SetTemporary(aTemporary); } \
  NS_IMETHOD GetSendViaCloud(bool *aSendViaCloud) override { return _to GetSendViaCloud(aSendViaCloud); } \
  NS_IMETHOD SetSendViaCloud(bool aSendViaCloud) override { return _to SetSendViaCloud(aSendViaCloud); } \
  NS_IMETHOD GetCloudProviderKey(nsACString& aCloudProviderKey) override { return _to GetCloudProviderKey(aCloudProviderKey); } \
  NS_IMETHOD SetCloudProviderKey(const nsACString& aCloudProviderKey) override { return _to SetCloudProviderKey(aCloudProviderKey); } \
  NS_IMETHOD GetHtmlAnnotation(nsAString& aHtmlAnnotation) override { return _to GetHtmlAnnotation(aHtmlAnnotation); } \
  NS_IMETHOD SetHtmlAnnotation(const nsAString& aHtmlAnnotation) override { return _to SetHtmlAnnotation(aHtmlAnnotation); } \
  NS_IMETHOD GetContentLocation(nsACString& aContentLocation) override { return _to GetContentLocation(aContentLocation); } \
  NS_IMETHOD SetContentLocation(const nsACString& aContentLocation) override { return _to SetContentLocation(aContentLocation); } \
  NS_IMETHOD GetContentType(char * *aContentType) override { return _to GetContentType(aContentType); } \
  NS_IMETHOD SetContentType(const char * aContentType) override { return _to SetContentType(aContentType); } \
  NS_IMETHOD GetContentTypeParam(char * *aContentTypeParam) override { return _to GetContentTypeParam(aContentTypeParam); } \
  NS_IMETHOD SetContentTypeParam(const char * aContentTypeParam) override { return _to SetContentTypeParam(aContentTypeParam); } \
  NS_IMETHOD GetCharset(char * *aCharset) override { return _to GetCharset(aCharset); } \
  NS_IMETHOD SetCharset(const char * aCharset) override { return _to SetCharset(aCharset); } \
  NS_IMETHOD GetSize(int64_t *aSize) override { return _to GetSize(aSize); } \
  NS_IMETHOD SetSize(int64_t aSize) override { return _to SetSize(aSize); } \
  NS_IMETHOD GetMacType(char * *aMacType) override { return _to GetMacType(aMacType); } \
  NS_IMETHOD SetMacType(const char * aMacType) override { return _to SetMacType(aMacType); } \
  NS_IMETHOD GetMacCreator(char * *aMacCreator) override { return _to GetMacCreator(aMacCreator); } \
  NS_IMETHOD SetMacCreator(const char * aMacCreator) override { return _to SetMacCreator(aMacCreator); } \
  NS_IMETHOD EqualsUrl(nsIMsgAttachment *attachment, bool *_retval) override { return _to EqualsUrl(attachment, _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_NSIMSGATTACHMENT(_to) \
  NS_IMETHOD GetName(nsAString& aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  NS_IMETHOD SetName(const nsAString& aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  NS_IMETHOD GetUrl(nsACString& aUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUrl(aUrl); } \
  NS_IMETHOD SetUrl(const nsACString& aUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUrl(aUrl); } \
  NS_IMETHOD GetUrlCharset(nsACString& aUrlCharset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUrlCharset(aUrlCharset); } \
  NS_IMETHOD SetUrlCharset(const nsACString& aUrlCharset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUrlCharset(aUrlCharset); } \
  NS_IMETHOD GetTemporary(bool *aTemporary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTemporary(aTemporary); } \
  NS_IMETHOD SetTemporary(bool aTemporary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTemporary(aTemporary); } \
  NS_IMETHOD GetSendViaCloud(bool *aSendViaCloud) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSendViaCloud(aSendViaCloud); } \
  NS_IMETHOD SetSendViaCloud(bool aSendViaCloud) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSendViaCloud(aSendViaCloud); } \
  NS_IMETHOD GetCloudProviderKey(nsACString& aCloudProviderKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCloudProviderKey(aCloudProviderKey); } \
  NS_IMETHOD SetCloudProviderKey(const nsACString& aCloudProviderKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCloudProviderKey(aCloudProviderKey); } \
  NS_IMETHOD GetHtmlAnnotation(nsAString& aHtmlAnnotation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHtmlAnnotation(aHtmlAnnotation); } \
  NS_IMETHOD SetHtmlAnnotation(const nsAString& aHtmlAnnotation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHtmlAnnotation(aHtmlAnnotation); } \
  NS_IMETHOD GetContentLocation(nsACString& aContentLocation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentLocation(aContentLocation); } \
  NS_IMETHOD SetContentLocation(const nsACString& aContentLocation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContentLocation(aContentLocation); } \
  NS_IMETHOD GetContentType(char * *aContentType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentType(aContentType); } \
  NS_IMETHOD SetContentType(const char * aContentType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContentType(aContentType); } \
  NS_IMETHOD GetContentTypeParam(char * *aContentTypeParam) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentTypeParam(aContentTypeParam); } \
  NS_IMETHOD SetContentTypeParam(const char * aContentTypeParam) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContentTypeParam(aContentTypeParam); } \
  NS_IMETHOD GetCharset(char * *aCharset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharset(aCharset); } \
  NS_IMETHOD SetCharset(const char * aCharset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharset(aCharset); } \
  NS_IMETHOD GetSize(int64_t *aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
  NS_IMETHOD SetSize(int64_t aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSize(aSize); } \
  NS_IMETHOD GetMacType(char * *aMacType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMacType(aMacType); } \
  NS_IMETHOD SetMacType(const char * aMacType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMacType(aMacType); } \
  NS_IMETHOD GetMacCreator(char * *aMacCreator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMacCreator(aMacCreator); } \
  NS_IMETHOD SetMacCreator(const char * aMacCreator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMacCreator(aMacCreator); } \
  NS_IMETHOD EqualsUrl(nsIMsgAttachment *attachment, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EqualsUrl(attachment, _retval); } 


#endif /* __gen_nsIMsgAttachment_h__ */