PRUnichar *pName = (PRUnichar *)item;
NS_IMETHODIMP nsImportGenericMail::SetData( const char *dataId, nsISupports *item){	NS_PRECONDITION(dataId != nsnull, "null ptr");    if (!dataId)        return NS_ERROR_NULL_POINTER;	if (!nsCRT::strcasecmp( dataId, "mailInterface")) {		NS_IF_RELEASE( m_pInterface);		if (item)			item->QueryInterface( NS_GET_IID(nsIImportMail), (void **) &m_pInterface);	}	if (!nsCRT::strcasecmp( dataId, "mailBoxes")) {		NS_IF_RELEASE( m_pMailboxes);		if (item)			item->QueryInterface( NS_GET_IID(nsISupportsArray), (void **) &m_pMailboxes);	}		if (!nsCRT::strcasecmp( dataId, "mailLocation")) {		NS_IF_RELEASE( m_pMailboxes);		NS_IF_RELEASE( m_pSrcLocation);		if (item)			item->QueryInterface( NS_GET_IID(nsIFileSpec), (void **) &m_pSrcLocation);	}		if (!nsCRT::strcasecmp( dataId, "mailDestination")) {		NS_IF_RELEASE( m_pDestFolder);		if (item)			item->QueryInterface( NS_GET_IID(nsIMsgFolder), (void **) &m_pDestFolder);		m_deleteDestFolder = PR_FALSE;	}		if (!nsCRT::strcasecmp( dataId, "name")) {		// BIG CHEAT, is this OK to do?		PRUnichar *pName = (PRUnichar *)item;		if (m_pName)			nsCRT::free( m_pName);		if (pName)			m_pName = nsCRT::strdup( pName);		else			m_pName = nsnull;	}	return( NS_OK);}