зеркало из https://github.com/mozilla/pjs.git
Unification of LoadUrl signature to remove some warnings on Linux & Mac. LoadUrl signature takes a display consumer
This commit is contained in:
Родитель
4a9adcf09e
Коммит
16df241a70
|
@ -473,7 +473,7 @@ void nsPop3Protocol::SetPassword(const char* passwd)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
nsresult nsPop3Protocol::LoadUrl(nsIURL* aURL)
|
nsresult nsPop3Protocol::LoadUrl(nsIURL* aURL, nsISupports * /* aConsumer */)
|
||||||
{
|
{
|
||||||
const char* urlSpec = NULL;
|
const char* urlSpec = NULL;
|
||||||
const char* host = NULL;
|
const char* host = NULL;
|
||||||
|
|
|
@ -296,7 +296,7 @@ public:
|
||||||
nsPop3Protocol(nsIURL* aURL);
|
nsPop3Protocol(nsIURL* aURL);
|
||||||
virtual ~nsPop3Protocol();
|
virtual ~nsPop3Protocol();
|
||||||
|
|
||||||
virtual nsresult LoadUrl(nsIURL *aURL);
|
virtual nsresult LoadUrl(nsIURL *aURL, nsISupports * aConsumer = nsnull);
|
||||||
|
|
||||||
const char* GetUsername() { return m_username; };
|
const char* GetUsername() { return m_username; };
|
||||||
void SetUsername(const char* name);
|
void SetUsername(const char* name);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче