Implement new nsIMsgMailNewsUrl methods...

This commit is contained in:
mscott%netscape.com 1999-02-25 01:02:00 +00:00
Родитель fc7a4e9e0e
Коммит 0b80d9ad58
2 изменённых файлов: 7 добавлений и 5 удалений

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

@ -60,6 +60,8 @@ nsMailboxUrl::nsMailboxUrl(nsISupports* aContainer, nsIURLGroup* aGroup)
m_filePath = nsnull;
m_runningUrl = PR_FALSE;
m_container = aContainer;
NS_IF_ADDREF(m_container);
}

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

@ -65,11 +65,9 @@ public:
// from nsIMailboxUrl:
NS_IMETHOD SetMailboxParser(nsIStreamListener * aConsumer);
NS_IMETHOD GetMailboxParser(nsIStreamListener ** aConsumer);
// mscott: this interface really belongs in nsIURL and I will move it there after talking
// it over with core netlib. This error message replaces the err_msg which was in the
// old URL_struct. Also, it should probably be a nsString or a PRUnichar *. I don't know what
// XP_GetString is going to return in mozilla.
// from nsIMsgMailNewsUrl:
NS_IMPL_CLASS_GETSET(RunningUrlFlag, PRBool, m_runningUrl);
NS_IMETHOD SetErrorMessage (char * errorMessage);
// caller must free using PR_FREE
@ -102,6 +100,8 @@ protected:
char *m_ref;
char *m_search;
char *m_errorMessage;
PRBool m_runningUrl;
nsISupports *m_container;