*Added some missing files from last commit

*LoginService is now only used in LocalCommunications and not as a interface in RegionCommunications
This commit is contained in:
mingchen
2007-06-19 00:18:06 +00:00
parent 56c4a3df5b
commit 78af287448
6 changed files with 79 additions and 7 deletions

View File

@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Text;
using OpenGrid.Framework.Communications;
using OpenSim.Framework.User;
using libsecondlife;
namespace OpenSim.LocalCommunications.LocalUserManagement
{
public class LocalUserServices : IUserServices
{
public UserProfileManager userProfileManager = new UserProfileManager();
public LocalLoginService localLoginService;
public LocalUserServices()
{
localLoginService = new LocalLoginService(this);
}
public UserProfile GetUserProfile(string first_name, string last_name)
{
return GetUserProfile(first_name + " " + last_name);
}
public UserProfile GetUserProfile(string name)
{
return null;
}
public UserProfile GetUserProfile(LLUUID avatar_id)
{
return null;
}
}
}

View File

@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Text;
using libsecondlife;
using OpenSim.Framework.User;
namespace OpenSim.LocalCommunications.LocalUserManagement
{
public class UserProfileManager
{
Dictionary<LLUUID, UserProfile> userProfiles = new Dictionary<LLUUID, UserProfile>();
public UserProfileManager()
{
}
private LLUUID getUserUUID(string first_name, string last_name)
{
return getUserUUID(first_name + " " + last_name);
}
private LLUUID getUserUUID(string name)
{
return null;
}
public UserProfile getUserProfile(string first_name, string last_name)
{
return getUserProfile(first_name + " " + last_name);
}
public UserProfile getUserProfile(string name)
{
return null;
}
public UserProfile getUserProfile(LLUUID user_id)
{
return null;
}
}
}