add cancel method to mailbox and pop protocol r=mscott

This commit is contained in:
bienvenu%netscape.com 1999-11-03 03:17:15 +00:00
Родитель e29f314bcf
Коммит 5622335cd1
4 изменённых файлов: 16 добавлений и 0 удалений

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

@ -178,6 +178,13 @@ NS_IMETHODIMP nsMailboxProtocol::OnStopRequest(nsIChannel * aChannel, nsISupport
// End of nsIStreamListenerSupport
//////////////////////////////////////////////////////////////////////////////////////////////
NS_IMETHODIMP nsMailboxProtocol::Cancel() // handle stop button
{
return nsMsgProtocol::Cancel();
}
PRInt32 nsMailboxProtocol::DoneReadingMessage()
{
nsresult rv = NS_OK;

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

@ -83,6 +83,7 @@ public:
////////////////////////////////////////////////////////////////////////////////////////
// End of nsIStreamListenerSupport
////////////////////////////////////////////////////////////////////////////////////////
NS_IMETHOD Cancel(); // handle stop button
private:
nsCOMPtr<nsIMailboxUrl> m_runningUrl; // the nsIMailboxURL that is currently running

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

@ -510,6 +510,12 @@ nsresult nsPop3Protocol::GetPassword(char ** aPassword)
return rv;
}
NS_IMETHODIMP nsPop3Protocol::Cancel() // handle stop button
{
return nsMsgProtocol::Cancel();
}
nsresult nsPop3Protocol::LoadUrl(nsIURI* aURL, nsISupports * /* aConsumer */)
{
nsresult rv = 0;

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

@ -242,6 +242,8 @@ public:
nsresult GetPassword(char ** aPassword);
NS_IMETHOD Cancel(); // handle stop button
private:
nsCString m_username;