This commit is contained in:
sspitzer%netscape.com 2000-03-01 17:24:12 +00:00
Родитель b51a05d6f5
Коммит 58089c433e
6 изменённых файлов: 36 добавлений и 18 удалений

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

@ -39,17 +39,20 @@ nsUserInfo::GetFullname(PRUnichar **aFullname)
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP GetEmailAddress(char * *aEmailAddress)
NS_IMETHODIMP
nsUserInfo::GetEmailAddress(char * *aEmailAddress)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP GetUsername(char * *aUsername)
NS_IMETHODIMP
nsUserInfo::GetUsername(char * *aUsername)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP GetDomain(char * *aDomain)
NS_IMETHODIMP
nsUserInfo::GetDomain(char * *aDomain)
{
return NS_ERROR_NOT_IMPLEMENTED;
}

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

@ -68,7 +68,8 @@ nsUserInfo::GetFullname(PRUnichar **aFullname)
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP GetUsername(char * *aUsername)
NS_IMETHODIMP
nsUserInfo::GetUsername(char * *aUsername)
{
struct passwd *pw = nsnull;
@ -87,7 +88,8 @@ NS_IMETHODIMP GetUsername(char * *aUsername)
return NS_OK;
}
NS_IMETHODIMP GetDomain(char * *aDomain)
NS_IMETHODIMP
nsUserInfo::GetDomain(char * *aDomain)
{
struct utsname buf;
@ -100,7 +102,8 @@ NS_IMETHODIMP GetDomain(char * *aDomain)
return NS_OK;
}
NS_IMETHODIMP GetEmailAddress(char * *aEmailAddress)
NS_IMETHODIMP
nsUserInfo::GetEmailAddress(char * *aEmailAddress)
{
// use username + "@" + domain for the email address

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

@ -56,17 +56,20 @@ nsUserInfo::GetFullname(PRUnichar **aFullname)
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP GetEmailAddress(char * *aEmailAddress)
NS_IMETHODIMP
nsUserInfo::GetEmailAddress(char * *aEmailAddress)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP GetUsername(char * *aUsername)
NS_IMETHODIMP
nsUserInfo::GetUsername(char * *aUsername)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP GetDomain(char * *aDomain)
NS_IMETHODIMP
nsUserInfo::GetDomain(char * *aDomain)
{
return NS_ERROR_NOT_IMPLEMENTED;
}

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

@ -39,17 +39,20 @@ nsUserInfo::GetFullname(PRUnichar **aFullname)
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP GetEmailAddress(char * *aEmailAddress)
NS_IMETHODIMP
nsUserInfo::GetEmailAddress(char * *aEmailAddress)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP GetUsername(char * *aUsername)
NS_IMETHODIMP
nsUserInfo::GetUsername(char * *aUsername)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP GetDomain(char * *aDomain)
NS_IMETHODIMP
nsUserInfo::GetDomain(char * *aDomain)
{
return NS_ERROR_NOT_IMPLEMENTED;
}

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

@ -68,7 +68,8 @@ nsUserInfo::GetFullname(PRUnichar **aFullname)
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP GetUsername(char * *aUsername)
NS_IMETHODIMP
nsUserInfo::GetUsername(char * *aUsername)
{
struct passwd *pw = nsnull;
@ -87,7 +88,8 @@ NS_IMETHODIMP GetUsername(char * *aUsername)
return NS_OK;
}
NS_IMETHODIMP GetDomain(char * *aDomain)
NS_IMETHODIMP
nsUserInfo::GetDomain(char * *aDomain)
{
struct utsname buf;
@ -100,7 +102,8 @@ NS_IMETHODIMP GetDomain(char * *aDomain)
return NS_OK;
}
NS_IMETHODIMP GetEmailAddress(char * *aEmailAddress)
NS_IMETHODIMP
nsUserInfo::GetEmailAddress(char * *aEmailAddress)
{
// use username + "@" + domain for the email address

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

@ -56,17 +56,20 @@ nsUserInfo::GetFullname(PRUnichar **aFullname)
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP GetEmailAddress(char * *aEmailAddress)
NS_IMETHODIMP
nsUserInfo::GetEmailAddress(char * *aEmailAddress)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP GetUsername(char * *aUsername)
NS_IMETHODIMP
nsUserInfo::GetUsername(char * *aUsername)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP GetDomain(char * *aDomain)
NS_IMETHODIMP
nsUserInfo::GetDomain(char * *aDomain)
{
return NS_ERROR_NOT_IMPLEMENTED;
}