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

#ifndef __gen_nsIMsgSendLater_h__
#define __gen_nsIMsgSendLater_h__


#ifndef __gen_nsIStreamListener_h__
#include "nsIStreamListener.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 nsIMsgStatusFeedback; /* forward declaration */

class nsIMsgIdentity; /* forward declaration */

class nsIMsgSendLaterListener; /* forward declaration */

class nsIMsgFolder; /* forward declaration */


/* starting interface:    nsIMsgSendLater */
#define NS_IMSGSENDLATER_IID_STR "fa324a4b-4b87-4e9a-a3c0-af9071a358df"

#define NS_IMSGSENDLATER_IID \
  {0xfa324a4b, 0x4b87, 0x4e9a, \
    { 0xa3, 0xc0, 0xaf, 0x90, 0x71, 0xa3, 0x58, 0xdf }}

class NS_NO_VTABLE nsIMsgSendLater : public nsIStreamListener {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGSENDLATER_IID)

  /* attribute nsIMsgStatusFeedback statusFeedback; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback **aStatusFeedback) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) = 0;

  /* void sendUnsentMessages (in nsIMsgIdentity aIdentity); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *aIdentity) = 0;

  /* void addListener (in nsIMsgSendLaterListener aListener); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddListener(nsIMsgSendLaterListener *aListener) = 0;

  /* void removeListener (in nsIMsgSendLaterListener aListener); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveListener(nsIMsgSendLaterListener *aListener) = 0;

  /* nsIMsgFolder getUnsentMessagesFolder (in nsIMsgIdentity userIdentity); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUnsentMessagesFolder(nsIMsgIdentity *userIdentity, nsIMsgFolder **_retval) = 0;

  /* boolean hasUnsentMessages ([optional] in nsIMsgIdentity aIdentity); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD HasUnsentMessages(nsIMsgIdentity *aIdentity, bool *_retval) = 0;

  /* readonly attribute boolean sendingMessages; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSendingMessages(bool *aSendingMessages) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgSendLater, NS_IMSGSENDLATER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGSENDLATER \
  NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback **aStatusFeedback) override; \
  NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) override; \
  NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *aIdentity) override; \
  NS_IMETHOD AddListener(nsIMsgSendLaterListener *aListener) override; \
  NS_IMETHOD RemoveListener(nsIMsgSendLaterListener *aListener) override; \
  NS_IMETHOD GetUnsentMessagesFolder(nsIMsgIdentity *userIdentity, nsIMsgFolder **_retval) override; \
  NS_IMETHOD HasUnsentMessages(nsIMsgIdentity *aIdentity, bool *_retval) override; \
  NS_IMETHOD GetSendingMessages(bool *aSendingMessages) 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_NSIMSGSENDLATER \
  nsresult GetStatusFeedback(nsIMsgStatusFeedback **aStatusFeedback); \
  nsresult SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback); \
  nsresult SendUnsentMessages(nsIMsgIdentity *aIdentity); \
  nsresult AddListener(nsIMsgSendLaterListener *aListener); \
  nsresult RemoveListener(nsIMsgSendLaterListener *aListener); \
  nsresult GetUnsentMessagesFolder(nsIMsgIdentity *userIdentity, nsIMsgFolder **_retval); \
  nsresult HasUnsentMessages(nsIMsgIdentity *aIdentity, bool *_retval); \
  nsresult GetSendingMessages(bool *aSendingMessages); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGSENDLATER(_to) \
  NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback **aStatusFeedback) override { return _to GetStatusFeedback(aStatusFeedback); } \
  NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) override { return _to SetStatusFeedback(aStatusFeedback); } \
  NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *aIdentity) override { return _to SendUnsentMessages(aIdentity); } \
  NS_IMETHOD AddListener(nsIMsgSendLaterListener *aListener) override { return _to AddListener(aListener); } \
  NS_IMETHOD RemoveListener(nsIMsgSendLaterListener *aListener) override { return _to RemoveListener(aListener); } \
  NS_IMETHOD GetUnsentMessagesFolder(nsIMsgIdentity *userIdentity, nsIMsgFolder **_retval) override { return _to GetUnsentMessagesFolder(userIdentity, _retval); } \
  NS_IMETHOD HasUnsentMessages(nsIMsgIdentity *aIdentity, bool *_retval) override { return _to HasUnsentMessages(aIdentity, _retval); } \
  NS_IMETHOD GetSendingMessages(bool *aSendingMessages) override { return _to GetSendingMessages(aSendingMessages); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGSENDLATER(_to) \
  NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback **aStatusFeedback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatusFeedback(aStatusFeedback); } \
  NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStatusFeedback(aStatusFeedback); } \
  NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *aIdentity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SendUnsentMessages(aIdentity); } \
  NS_IMETHOD AddListener(nsIMsgSendLaterListener *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddListener(aListener); } \
  NS_IMETHOD RemoveListener(nsIMsgSendLaterListener *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveListener(aListener); } \
  NS_IMETHOD GetUnsentMessagesFolder(nsIMsgIdentity *userIdentity, nsIMsgFolder **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnsentMessagesFolder(userIdentity, _retval); } \
  NS_IMETHOD HasUnsentMessages(nsIMsgIdentity *aIdentity, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasUnsentMessages(aIdentity, _retval); } \
  NS_IMETHOD GetSendingMessages(bool *aSendingMessages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSendingMessages(aSendingMessages); } 


#endif /* __gen_nsIMsgSendLater_h__ */