From ae089aebadebbfe28cdae5972e0a65fa0086daad Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Wed, 24 Feb 1999 02:29:54 +0000 Subject: [PATCH] nsIMsgMailNewsUrl base class updates. Keep track of whether the url is running or not... git-svn-id: svn://10.0.0.236/trunk@21685 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/compose/src/nsSmtpUrl.cpp | 1 + mozilla/mailnews/compose/src/nsSmtpUrl.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/mozilla/mailnews/compose/src/nsSmtpUrl.cpp b/mozilla/mailnews/compose/src/nsSmtpUrl.cpp index 6e1790f0a86..8dabe9e7d7b 100644 --- a/mozilla/mailnews/compose/src/nsSmtpUrl.cpp +++ b/mozilla/mailnews/compose/src/nsSmtpUrl.cpp @@ -69,6 +69,7 @@ nsSmtpUrl::nsSmtpUrl(nsISupports* aContainer, nsIURLGroup* aGroup) : m_fileName( m_spec = nsnull; m_search = nsnull; m_errorMessage = nsnull; + m_runningUrl = PR_FALSE; m_container = aContainer; NS_IF_ADDREF(m_container); diff --git a/mozilla/mailnews/compose/src/nsSmtpUrl.h b/mozilla/mailnews/compose/src/nsSmtpUrl.h index 32454f00720..99b526044a7 100644 --- a/mozilla/mailnews/compose/src/nsSmtpUrl.h +++ b/mozilla/mailnews/compose/src/nsSmtpUrl.h @@ -55,6 +55,8 @@ public: NS_IMETHOD GetContentLength(PRInt32 *len); NS_IMETHOD GetServerStatus(PRInt32 *status); // make obsolete NS_IMETHOD ToString(PRUnichar* *aString) const; + + NS_IMPL_CLASS_GETSET(RunningUrlFlag, PRBool, m_runningUrl); // from nsINetlibURL: @@ -151,6 +153,7 @@ protected: char *m_errorMessage; PRBool m_forcePlainText; + PRBool m_runningUrl; PRInt32 m_port; nsISupports* m_container;