2007-03-22 10:30:00 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
2012-05-21 04:12:37 -07:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-03-22 10:30:00 -07:00
|
|
|
* This Original Code has been modified by IBM Corporation. Modifications made by IBM
|
|
|
|
* described herein are Copyright (c) International Business Machines Corporation, 2000.
|
|
|
|
* Modifications to Mozilla code or documentation identified per MPL Section 3.3
|
|
|
|
*
|
|
|
|
* Date Modified by Description of modification
|
|
|
|
* 05/11/2000 IBM Corp. Created for OS/2 VisualAge build.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "nsUserInfo.h"
|
|
|
|
#include "nsString.h"
|
|
|
|
#include "nsCRT.h"
|
|
|
|
#include "nsXPIDLString.h"
|
|
|
|
|
|
|
|
nsUserInfo::nsUserInfo()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
nsUserInfo::~nsUserInfo()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
NS_IMPL_ISUPPORTS1(nsUserInfo,nsIUserInfo)
|
|
|
|
|
|
|
|
NS_IMETHODIMP
|
|
|
|
nsUserInfo::GetUsername(char **aUsername)
|
|
|
|
{
|
2012-07-30 07:20:58 -07:00
|
|
|
*aUsername = nullptr;
|
2007-03-22 10:30:00 -07:00
|
|
|
return NS_ERROR_NOT_IMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
NS_IMETHODIMP
|
|
|
|
nsUserInfo::GetFullname(PRUnichar **aFullname)
|
|
|
|
{
|
2012-07-30 07:20:58 -07:00
|
|
|
*aFullname = nullptr;
|
2007-03-22 10:30:00 -07:00
|
|
|
return NS_ERROR_NOT_IMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
NS_IMETHODIMP
|
|
|
|
nsUserInfo::GetDomain(char * *aDomain)
|
|
|
|
{
|
2012-07-30 07:20:58 -07:00
|
|
|
*aDomain = nullptr;
|
2007-03-22 10:30:00 -07:00
|
|
|
return NS_ERROR_NOT_IMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
NS_IMETHODIMP
|
|
|
|
nsUserInfo::GetEmailAddress(char * *aEmailAddress)
|
|
|
|
{
|
2012-07-30 07:20:58 -07:00
|
|
|
*aEmailAddress = nullptr;
|
2007-03-22 10:30:00 -07:00
|
|
|
return NS_ERROR_NOT_IMPLEMENTED;
|
|
|
|
}
|