/usr/include/thunderbird/nsIMsgSendLater.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIMsgSendLater.idl
*/
#ifndef __gen_nsIMsgSendLater_h__
#define __gen_nsIMsgSendLater_h__
#ifndef __gen_nsIStreamListener_h__
#include "nsIStreamListener.h"
#endif
/* 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; */
NS_IMETHOD GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback) = 0;
NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback) = 0;
/* void sendUnsentMessages (in nsIMsgIdentity aIdentity); */
NS_IMETHOD SendUnsentMessages(nsIMsgIdentity *aIdentity) = 0;
/* void addListener (in nsIMsgSendLaterListener aListener); */
NS_IMETHOD AddListener(nsIMsgSendLaterListener *aListener) = 0;
/* void removeListener (in nsIMsgSendLaterListener aListener); */
NS_IMETHOD RemoveListener(nsIMsgSendLaterListener *aListener) = 0;
/* nsIMsgFolder getUnsentMessagesFolder (in nsIMsgIdentity userIdentity); */
NS_IMETHOD GetUnsentMessagesFolder(nsIMsgIdentity *userIdentity, nsIMsgFolder * *_retval) = 0;
/* boolean hasUnsentMessages ([optional] in nsIMsgIdentity aIdentity); */
NS_IMETHOD HasUnsentMessages(nsIMsgIdentity *aIdentity, bool *_retval) = 0;
/* readonly attribute boolean sendingMessages; */
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 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); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgSendLater : public nsIMsgSendLater
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGSENDLATER
nsMsgSendLater();
private:
~nsMsgSendLater();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgSendLater, nsIMsgSendLater)
nsMsgSendLater::nsMsgSendLater()
{
/* member initializers and constructor code */
}
nsMsgSendLater::~nsMsgSendLater()
{
/* destructor code */
}
/* attribute nsIMsgStatusFeedback statusFeedback; */
NS_IMETHODIMP nsMsgSendLater::GetStatusFeedback(nsIMsgStatusFeedback * *aStatusFeedback)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgSendLater::SetStatusFeedback(nsIMsgStatusFeedback *aStatusFeedback)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void sendUnsentMessages (in nsIMsgIdentity aIdentity); */
NS_IMETHODIMP nsMsgSendLater::SendUnsentMessages(nsIMsgIdentity *aIdentity)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addListener (in nsIMsgSendLaterListener aListener); */
NS_IMETHODIMP nsMsgSendLater::AddListener(nsIMsgSendLaterListener *aListener)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeListener (in nsIMsgSendLaterListener aListener); */
NS_IMETHODIMP nsMsgSendLater::RemoveListener(nsIMsgSendLaterListener *aListener)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIMsgFolder getUnsentMessagesFolder (in nsIMsgIdentity userIdentity); */
NS_IMETHODIMP nsMsgSendLater::GetUnsentMessagesFolder(nsIMsgIdentity *userIdentity, nsIMsgFolder * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean hasUnsentMessages ([optional] in nsIMsgIdentity aIdentity); */
NS_IMETHODIMP nsMsgSendLater::HasUnsentMessages(nsIMsgIdentity *aIdentity, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean sendingMessages; */
NS_IMETHODIMP nsMsgSendLater::GetSendingMessages(bool *aSendingMessages)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIMsgSendLater_h__ */
|