Update to take a url listener when sending a message.

This commit is contained in:
mscott%netscape.com 1999-03-03 01:19:50 +00:00
Родитель 8277d976d7
Коммит d77b56e257
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -41,6 +41,7 @@
// this service away =).
////////////////////////////////////////////////////////////////////////////////////////
class nsIURL;
class nsIUrlListener;
class nsISmtpService : public nsISupports
{
@ -56,9 +57,11 @@ public:
//
// mscott - until we have a mail session, we need to pass in the host name to use....this will go away when we can
// read it directly from prefs...
// If you don't care about listening to the url, feel free to pass in nsnull for that argument.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
NS_IMETHOD SendMailMessage(const nsFilePath& aFilePath, const nsString& hostName, const nsString& aSender, const nsString& aRecipients, nsIURL ** aURL) = 0;
NS_IMETHOD SendMailMessage(const nsFilePath& aFilePath, const nsString& hostName, const nsString& aSender, const nsString& aRecipients,
nsIUrlListener * aUrlListener, nsIURL ** aURL) = 0;
};
#endif /* nsISmtpService_h___ */