diff options
Diffstat (limited to 'OpenSim/OpenSim.LocalCommunications/LocalUserManagement')
-rw-r--r-- | OpenSim/OpenSim.LocalCommunications/LocalUserManagement/LocalUserServices.cs | 36 | ||||
-rw-r--r-- | OpenSim/OpenSim.LocalCommunications/LocalUserManagement/UserProfileManager.cs | 42 |
2 files changed, 78 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.LocalCommunications/LocalUserManagement/LocalUserServices.cs b/OpenSim/OpenSim.LocalCommunications/LocalUserManagement/LocalUserServices.cs new file mode 100644 index 0000000..f438117 --- /dev/null +++ b/OpenSim/OpenSim.LocalCommunications/LocalUserManagement/LocalUserServices.cs | |||
@@ -0,0 +1,36 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | using OpenGrid.Framework.Communications; | ||
6 | using OpenSim.Framework.User; | ||
7 | |||
8 | using libsecondlife; | ||
9 | |||
10 | namespace OpenSim.LocalCommunications.LocalUserManagement | ||
11 | { | ||
12 | public class LocalUserServices : IUserServices | ||
13 | { | ||
14 | public UserProfileManager userProfileManager = new UserProfileManager(); | ||
15 | public LocalLoginService localLoginService; | ||
16 | public LocalUserServices() | ||
17 | { | ||
18 | localLoginService = new LocalLoginService(this); | ||
19 | } | ||
20 | |||
21 | public UserProfile GetUserProfile(string first_name, string last_name) | ||
22 | { | ||
23 | return GetUserProfile(first_name + " " + last_name); | ||
24 | } | ||
25 | |||
26 | public UserProfile GetUserProfile(string name) | ||
27 | { | ||
28 | return null; | ||
29 | } | ||
30 | public UserProfile GetUserProfile(LLUUID avatar_id) | ||
31 | { | ||
32 | return null; | ||
33 | } | ||
34 | |||
35 | } | ||
36 | } | ||
diff --git a/OpenSim/OpenSim.LocalCommunications/LocalUserManagement/UserProfileManager.cs b/OpenSim/OpenSim.LocalCommunications/LocalUserManagement/UserProfileManager.cs new file mode 100644 index 0000000..5f9d028 --- /dev/null +++ b/OpenSim/OpenSim.LocalCommunications/LocalUserManagement/UserProfileManager.cs | |||
@@ -0,0 +1,42 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | using libsecondlife; | ||
6 | using OpenSim.Framework.User; | ||
7 | |||
8 | namespace OpenSim.LocalCommunications.LocalUserManagement | ||
9 | { | ||
10 | public class UserProfileManager | ||
11 | { | ||
12 | Dictionary<LLUUID, UserProfile> userProfiles = new Dictionary<LLUUID, UserProfile>(); | ||
13 | |||
14 | public UserProfileManager() | ||
15 | { | ||
16 | } | ||
17 | |||
18 | private LLUUID getUserUUID(string first_name, string last_name) | ||
19 | { | ||
20 | return getUserUUID(first_name + " " + last_name); | ||
21 | } | ||
22 | private LLUUID getUserUUID(string name) | ||
23 | { | ||
24 | return null; | ||
25 | } | ||
26 | |||
27 | |||
28 | public UserProfile getUserProfile(string first_name, string last_name) | ||
29 | { | ||
30 | return getUserProfile(first_name + " " + last_name); | ||
31 | } | ||
32 | public UserProfile getUserProfile(string name) | ||
33 | { | ||
34 | return null; | ||
35 | } | ||
36 | public UserProfile getUserProfile(LLUUID user_id) | ||
37 | { | ||
38 | return null; | ||
39 | } | ||
40 | |||
41 | } | ||
42 | } | ||