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

#ifndef __gen_nsINNTPNewsgroupPost_h__
#define __gen_nsINNTPNewsgroupPost_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
class nsIFile; /* forward declaration */


/* starting interface:    nsINNTPNewsgroupPost */
#define NS_INNTPNEWSGROUPPOST_IID_STR "9979a2cb-a4e6-45e6-bfeb-b08e704c5a2b"

#define NS_INNTPNEWSGROUPPOST_IID \
  {0x9979a2cb, 0xa4e6, 0x45e6, \
    { 0xbf, 0xeb, 0xb0, 0x8e, 0x70, 0x4c, 0x5a, 0x2b }}

class NS_NO_VTABLE nsINNTPNewsgroupPost : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_INNTPNEWSGROUPPOST_IID)

  /* attribute string relayVersion; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRelayVersion(char * *aRelayVersion) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRelayVersion(const char * aRelayVersion) = 0;

  /* attribute string postingVersion; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPostingVersion(char * *aPostingVersion) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPostingVersion(const char * aPostingVersion) = 0;

  /* attribute string from; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFrom(char * *aFrom) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFrom(const char * aFrom) = 0;

  /* attribute string date; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDate(char * *aDate) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDate(const char * aDate) = 0;

  /* void AddNewsgroup (in string newsgroupName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddNewsgroup(const char * newsgroupName) = 0;

  /* readonly attribute string newsgroups; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNewsgroups(char * *aNewsgroups) = 0;

  /* attribute string subject; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSubject(char * *aSubject) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSubject(const char * aSubject) = 0;

  /* attribute string path; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPath(char * *aPath) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPath(const char * aPath) = 0;

  /* attribute string replyTo; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetReplyTo(char * *aReplyTo) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetReplyTo(const char * aReplyTo) = 0;

  /* attribute string sender; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSender(char * *aSender) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSender(const char * aSender) = 0;

  /* attribute string followupTo; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFollowupTo(char * *aFollowupTo) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFollowupTo(const char * aFollowupTo) = 0;

  /* attribute string dateReceived; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDateReceived(char * *aDateReceived) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDateReceived(const char * aDateReceived) = 0;

  /* attribute string expires; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetExpires(char * *aExpires) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetExpires(const char * aExpires) = 0;

  /* readonly attribute string references; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetReferences(char * *aReferences) = 0;

  /* attribute string control; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetControl(char * *aControl) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetControl(const char * aControl) = 0;

  /* attribute string distribution; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDistribution(char * *aDistribution) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDistribution(const char * aDistribution) = 0;

  /* attribute string organization; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOrganization(char * *aOrganization) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOrganization(const char * aOrganization) = 0;

  /* attribute string body; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetBody(char * *aBody) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetBody(const char * aBody) = 0;

  /* readonly attribute boolean isControl; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsControl(bool *aIsControl) = 0;

  /* attribute nsIFile postMessageFile; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPostMessageFile(nsIFile **aPostMessageFile) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPostMessageFile(nsIFile *aPostMessageFile) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsINNTPNewsgroupPost, NS_INNTPNEWSGROUPPOST_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINNTPNEWSGROUPPOST \
  NS_IMETHOD GetRelayVersion(char * *aRelayVersion) override; \
  NS_IMETHOD SetRelayVersion(const char * aRelayVersion) override; \
  NS_IMETHOD GetPostingVersion(char * *aPostingVersion) override; \
  NS_IMETHOD SetPostingVersion(const char * aPostingVersion) override; \
  NS_IMETHOD GetFrom(char * *aFrom) override; \
  NS_IMETHOD SetFrom(const char * aFrom) override; \
  NS_IMETHOD GetDate(char * *aDate) override; \
  NS_IMETHOD SetDate(const char * aDate) override; \
  NS_IMETHOD AddNewsgroup(const char * newsgroupName) override; \
  NS_IMETHOD GetNewsgroups(char * *aNewsgroups) override; \
  NS_IMETHOD GetSubject(char * *aSubject) override; \
  NS_IMETHOD SetSubject(const char * aSubject) override; \
  NS_IMETHOD GetPath(char * *aPath) override; \
  NS_IMETHOD SetPath(const char * aPath) override; \
  NS_IMETHOD GetReplyTo(char * *aReplyTo) override; \
  NS_IMETHOD SetReplyTo(const char * aReplyTo) override; \
  NS_IMETHOD GetSender(char * *aSender) override; \
  NS_IMETHOD SetSender(const char * aSender) override; \
  NS_IMETHOD GetFollowupTo(char * *aFollowupTo) override; \
  NS_IMETHOD SetFollowupTo(const char * aFollowupTo) override; \
  NS_IMETHOD GetDateReceived(char * *aDateReceived) override; \
  NS_IMETHOD SetDateReceived(const char * aDateReceived) override; \
  NS_IMETHOD GetExpires(char * *aExpires) override; \
  NS_IMETHOD SetExpires(const char * aExpires) override; \
  NS_IMETHOD GetReferences(char * *aReferences) override; \
  NS_IMETHOD GetControl(char * *aControl) override; \
  NS_IMETHOD SetControl(const char * aControl) override; \
  NS_IMETHOD GetDistribution(char * *aDistribution) override; \
  NS_IMETHOD SetDistribution(const char * aDistribution) override; \
  NS_IMETHOD GetOrganization(char * *aOrganization) override; \
  NS_IMETHOD SetOrganization(const char * aOrganization) override; \
  NS_IMETHOD GetBody(char * *aBody) override; \
  NS_IMETHOD SetBody(const char * aBody) override; \
  NS_IMETHOD GetIsControl(bool *aIsControl) override; \
  NS_IMETHOD GetPostMessageFile(nsIFile **aPostMessageFile) override; \
  NS_IMETHOD SetPostMessageFile(nsIFile *aPostMessageFile) 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_NSINNTPNEWSGROUPPOST \
  nsresult GetRelayVersion(char * *aRelayVersion); \
  nsresult SetRelayVersion(const char * aRelayVersion); \
  nsresult GetPostingVersion(char * *aPostingVersion); \
  nsresult SetPostingVersion(const char * aPostingVersion); \
  nsresult GetFrom(char * *aFrom); \
  nsresult SetFrom(const char * aFrom); \
  nsresult GetDate(char * *aDate); \
  nsresult SetDate(const char * aDate); \
  nsresult AddNewsgroup(const char * newsgroupName); \
  nsresult GetNewsgroups(char * *aNewsgroups); \
  nsresult GetSubject(char * *aSubject); \
  nsresult SetSubject(const char * aSubject); \
  nsresult GetPath(char * *aPath); \
  nsresult SetPath(const char * aPath); \
  nsresult GetReplyTo(char * *aReplyTo); \
  nsresult SetReplyTo(const char * aReplyTo); \
  nsresult GetSender(char * *aSender); \
  nsresult SetSender(const char * aSender); \
  nsresult GetFollowupTo(char * *aFollowupTo); \
  nsresult SetFollowupTo(const char * aFollowupTo); \
  nsresult GetDateReceived(char * *aDateReceived); \
  nsresult SetDateReceived(const char * aDateReceived); \
  nsresult GetExpires(char * *aExpires); \
  nsresult SetExpires(const char * aExpires); \
  nsresult GetReferences(char * *aReferences); \
  nsresult GetControl(char * *aControl); \
  nsresult SetControl(const char * aControl); \
  nsresult GetDistribution(char * *aDistribution); \
  nsresult SetDistribution(const char * aDistribution); \
  nsresult GetOrganization(char * *aOrganization); \
  nsresult SetOrganization(const char * aOrganization); \
  nsresult GetBody(char * *aBody); \
  nsresult SetBody(const char * aBody); \
  nsresult GetIsControl(bool *aIsControl); \
  nsresult GetPostMessageFile(nsIFile **aPostMessageFile); \
  nsresult SetPostMessageFile(nsIFile *aPostMessageFile); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINNTPNEWSGROUPPOST(_to) \
  NS_IMETHOD GetRelayVersion(char * *aRelayVersion) override { return _to GetRelayVersion(aRelayVersion); } \
  NS_IMETHOD SetRelayVersion(const char * aRelayVersion) override { return _to SetRelayVersion(aRelayVersion); } \
  NS_IMETHOD GetPostingVersion(char * *aPostingVersion) override { return _to GetPostingVersion(aPostingVersion); } \
  NS_IMETHOD SetPostingVersion(const char * aPostingVersion) override { return _to SetPostingVersion(aPostingVersion); } \
  NS_IMETHOD GetFrom(char * *aFrom) override { return _to GetFrom(aFrom); } \
  NS_IMETHOD SetFrom(const char * aFrom) override { return _to SetFrom(aFrom); } \
  NS_IMETHOD GetDate(char * *aDate) override { return _to GetDate(aDate); } \
  NS_IMETHOD SetDate(const char * aDate) override { return _to SetDate(aDate); } \
  NS_IMETHOD AddNewsgroup(const char * newsgroupName) override { return _to AddNewsgroup(newsgroupName); } \
  NS_IMETHOD GetNewsgroups(char * *aNewsgroups) override { return _to GetNewsgroups(aNewsgroups); } \
  NS_IMETHOD GetSubject(char * *aSubject) override { return _to GetSubject(aSubject); } \
  NS_IMETHOD SetSubject(const char * aSubject) override { return _to SetSubject(aSubject); } \
  NS_IMETHOD GetPath(char * *aPath) override { return _to GetPath(aPath); } \
  NS_IMETHOD SetPath(const char * aPath) override { return _to SetPath(aPath); } \
  NS_IMETHOD GetReplyTo(char * *aReplyTo) override { return _to GetReplyTo(aReplyTo); } \
  NS_IMETHOD SetReplyTo(const char * aReplyTo) override { return _to SetReplyTo(aReplyTo); } \
  NS_IMETHOD GetSender(char * *aSender) override { return _to GetSender(aSender); } \
  NS_IMETHOD SetSender(const char * aSender) override { return _to SetSender(aSender); } \
  NS_IMETHOD GetFollowupTo(char * *aFollowupTo) override { return _to GetFollowupTo(aFollowupTo); } \
  NS_IMETHOD SetFollowupTo(const char * aFollowupTo) override { return _to SetFollowupTo(aFollowupTo); } \
  NS_IMETHOD GetDateReceived(char * *aDateReceived) override { return _to GetDateReceived(aDateReceived); } \
  NS_IMETHOD SetDateReceived(const char * aDateReceived) override { return _to SetDateReceived(aDateReceived); } \
  NS_IMETHOD GetExpires(char * *aExpires) override { return _to GetExpires(aExpires); } \
  NS_IMETHOD SetExpires(const char * aExpires) override { return _to SetExpires(aExpires); } \
  NS_IMETHOD GetReferences(char * *aReferences) override { return _to GetReferences(aReferences); } \
  NS_IMETHOD GetControl(char * *aControl) override { return _to GetControl(aControl); } \
  NS_IMETHOD SetControl(const char * aControl) override { return _to SetControl(aControl); } \
  NS_IMETHOD GetDistribution(char * *aDistribution) override { return _to GetDistribution(aDistribution); } \
  NS_IMETHOD SetDistribution(const char * aDistribution) override { return _to SetDistribution(aDistribution); } \
  NS_IMETHOD GetOrganization(char * *aOrganization) override { return _to GetOrganization(aOrganization); } \
  NS_IMETHOD SetOrganization(const char * aOrganization) override { return _to SetOrganization(aOrganization); } \
  NS_IMETHOD GetBody(char * *aBody) override { return _to GetBody(aBody); } \
  NS_IMETHOD SetBody(const char * aBody) override { return _to SetBody(aBody); } \
  NS_IMETHOD GetIsControl(bool *aIsControl) override { return _to GetIsControl(aIsControl); } \
  NS_IMETHOD GetPostMessageFile(nsIFile **aPostMessageFile) override { return _to GetPostMessageFile(aPostMessageFile); } \
  NS_IMETHOD SetPostMessageFile(nsIFile *aPostMessageFile) override { return _to SetPostMessageFile(aPostMessageFile); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINNTPNEWSGROUPPOST(_to) \
  NS_IMETHOD GetRelayVersion(char * *aRelayVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRelayVersion(aRelayVersion); } \
  NS_IMETHOD SetRelayVersion(const char * aRelayVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRelayVersion(aRelayVersion); } \
  NS_IMETHOD GetPostingVersion(char * *aPostingVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostingVersion(aPostingVersion); } \
  NS_IMETHOD SetPostingVersion(const char * aPostingVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPostingVersion(aPostingVersion); } \
  NS_IMETHOD GetFrom(char * *aFrom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFrom(aFrom); } \
  NS_IMETHOD SetFrom(const char * aFrom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFrom(aFrom); } \
  NS_IMETHOD GetDate(char * *aDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDate(aDate); } \
  NS_IMETHOD SetDate(const char * aDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDate(aDate); } \
  NS_IMETHOD AddNewsgroup(const char * newsgroupName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddNewsgroup(newsgroupName); } \
  NS_IMETHOD GetNewsgroups(char * *aNewsgroups) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewsgroups(aNewsgroups); } \
  NS_IMETHOD GetSubject(char * *aSubject) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSubject(aSubject); } \
  NS_IMETHOD SetSubject(const char * aSubject) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSubject(aSubject); } \
  NS_IMETHOD GetPath(char * *aPath) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPath(aPath); } \
  NS_IMETHOD SetPath(const char * aPath) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPath(aPath); } \
  NS_IMETHOD GetReplyTo(char * *aReplyTo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReplyTo(aReplyTo); } \
  NS_IMETHOD SetReplyTo(const char * aReplyTo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReplyTo(aReplyTo); } \
  NS_IMETHOD GetSender(char * *aSender) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSender(aSender); } \
  NS_IMETHOD SetSender(const char * aSender) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSender(aSender); } \
  NS_IMETHOD GetFollowupTo(char * *aFollowupTo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFollowupTo(aFollowupTo); } \
  NS_IMETHOD SetFollowupTo(const char * aFollowupTo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFollowupTo(aFollowupTo); } \
  NS_IMETHOD GetDateReceived(char * *aDateReceived) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDateReceived(aDateReceived); } \
  NS_IMETHOD SetDateReceived(const char * aDateReceived) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDateReceived(aDateReceived); } \
  NS_IMETHOD GetExpires(char * *aExpires) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExpires(aExpires); } \
  NS_IMETHOD SetExpires(const char * aExpires) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExpires(aExpires); } \
  NS_IMETHOD GetReferences(char * *aReferences) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReferences(aReferences); } \
  NS_IMETHOD GetControl(char * *aControl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControl(aControl); } \
  NS_IMETHOD SetControl(const char * aControl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetControl(aControl); } \
  NS_IMETHOD GetDistribution(char * *aDistribution) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDistribution(aDistribution); } \
  NS_IMETHOD SetDistribution(const char * aDistribution) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDistribution(aDistribution); } \
  NS_IMETHOD GetOrganization(char * *aOrganization) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOrganization(aOrganization); } \
  NS_IMETHOD SetOrganization(const char * aOrganization) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOrganization(aOrganization); } \
  NS_IMETHOD GetBody(char * *aBody) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBody(aBody); } \
  NS_IMETHOD SetBody(const char * aBody) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBody(aBody); } \
  NS_IMETHOD GetIsControl(bool *aIsControl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsControl(aIsControl); } \
  NS_IMETHOD GetPostMessageFile(nsIFile **aPostMessageFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostMessageFile(aPostMessageFile); } \
  NS_IMETHOD SetPostMessageFile(nsIFile *aPostMessageFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPostMessageFile(aPostMessageFile); } 


#endif /* __gen_nsINNTPNewsgroupPost_h__ */