fix for the SunOS build bustage. r=chuang.

This commit is contained in:
sspitzer%netscape.com 1999-07-07 22:28:52 +00:00
Родитель d0426e95dc
Коммит 6b9e24fcd0
2 изменённых файлов: 1 добавлений и 27 удалений

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

@ -135,9 +135,6 @@ nsAbCardProperty::nsAbCardProperty(void)
nsAbCardProperty::~nsAbCardProperty(void)
{
if(mDatabase)
mDatabase->RemoveListener(this);
PR_FREEIF(m_pFirstName);
PR_FREEIF(m_pLastName);
PR_FREEIF(m_pDisplayName);
@ -223,7 +220,6 @@ NS_IMETHODIMP nsAbCardProperty::QueryInterface(REFNSIID aIID, void** aResult)
return NS_ERROR_NULL_POINTER;
if (aIID.Equals(nsCOMTypeInfo<nsIAbCard>::GetIID()) ||
aIID.Equals(nsCOMTypeInfo<nsIAddrDBListener>::GetIID()) ||
aIID.Equals(nsCOMTypeInfo<nsISupports>::GetIID())) {
*aResult = NS_STATIC_CAST(nsIAbCard*, this);
NS_ADDREF_THIS();
@ -234,22 +230,6 @@ NS_IMETHODIMP nsAbCardProperty::QueryInterface(REFNSIID aIID, void** aResult)
////////////////////////////////////////////////////////////////////////////////
NS_IMETHODIMP nsAbCardProperty::OnCardAttribChange(PRUint32 abCode, nsIAddrDBListener *instigator)
{
return NS_OK;
}
NS_IMETHODIMP nsAbCardProperty::OnCardEntryChange
(PRUint32 abCode, nsIAbCard *card, nsIAddrDBListener *instigator)
{
return NS_OK;
}
NS_IMETHODIMP nsAbCardProperty::OnAnnouncerGoingAway(nsIAddrDBAnnouncer *instigator)
{
return NS_OK;
}
nsresult nsAbCardProperty::GetAttributeName(char **aName, char* pValue)
{
if (aName)

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

@ -30,14 +30,13 @@
#include "nsISupportsArray.h"
#include "nsVoidArray.h"
#include "nsCOMPtr.h"
#include "nsIAddrDBListener.h"
#include "nsIAddrDatabase.h"
/*
* Address Book Card Property
*/
class nsAbCardProperty: public nsIAbCard, public nsIAddrDBListener
class nsAbCardProperty: public nsIAbCard
{
public:
@ -46,11 +45,6 @@ public:
nsAbCardProperty(void);
virtual ~nsAbCardProperty(void);
// nsIAddrDBListener methods:
NS_IMETHOD OnCardAttribChange(PRUint32 abCode, nsIAddrDBListener *instigator);
NS_IMETHOD OnCardEntryChange(PRUint32 abCode, nsIAbCard *card, nsIAddrDBListener *instigator);
NS_IMETHOD OnAnnouncerGoingAway(nsIAddrDBAnnouncer *instigator);
// nsICollection methods:
NS_IMETHOD Count(PRUint32 *result) {