ignore generated files

This commit is contained in:
alecf%netscape.com 1999-02-17 06:01:24 +00:00
parent f15f92b708
commit f85cb4a25e
4 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1 @@
Makefile

View File

@ -34,6 +34,11 @@
#include "nsCRT.h"
#include "nsEscape.h"
// we need this because of an egcs 1.0 (and possibly gcc) compiler bug
// that doesn't allow you to call ::nsISupports::IID() inside of a class
// that multiply inherits from nsISupports
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
nsSmtpUrl::nsSmtpUrl(nsISupports* aContainer, nsIURLGroup* aGroup)
{
NS_INIT_REFCNT();
@ -105,7 +110,8 @@ nsresult nsSmtpUrl::QueryInterface(const nsIID &aIID, void** aInstancePtr)
return NS_ERROR_NULL_POINTER;
}
if (aIID.Equals(nsISmtpUrl::IID()) || aIID.Equals(::nsISupports::IID())) {
if (aIID.Equals(nsISmtpUrl::IID()) ||
aIID.Equals(kISupportsIID)) {
*aInstancePtr = (void*) ((nsISmtpUrl*)this);
AddRef();
return NS_OK;

View File

@ -0,0 +1 @@
Makefile

View File

@ -0,0 +1 @@
Makefile