diff options
Made a base class from the Grid mode UserServer.UserManager and included that in the OpenSim solution.
Included OpenGrid.Framework.Data in the OpenSim solution (and OpenGrid.Framework.Data.DB4O).
Changed OpenSim.LocalCommunications.LocalUserServices so that it inherits from the UserManagement Base class. (still not finished implementing the CustomiseResponse() method)
Diffstat (limited to 'OpenSim/OpenSim.LocalCommunications/LocalUserServices.cs')
-rw-r--r-- | OpenSim/OpenSim.LocalCommunications/LocalUserServices.cs | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.LocalCommunications/LocalUserServices.cs b/OpenSim/OpenSim.LocalCommunications/LocalUserServices.cs new file mode 100644 index 0000000..0fe52a7 --- /dev/null +++ b/OpenSim/OpenSim.LocalCommunications/LocalUserServices.cs | |||
@@ -0,0 +1,43 @@ | |||
1 | using System; | ||
2 | using System.Collections; | ||
3 | using System.Collections.Generic; | ||
4 | using System.Text; | ||
5 | |||
6 | using OpenGrid.Framework.Communications; | ||
7 | using OpenSim.Framework.User; | ||
8 | using OpenGrid.Framework.UserManagement; | ||
9 | using OpenGrid.Framework.Data; | ||
10 | |||
11 | using libsecondlife; | ||
12 | |||
13 | namespace OpenSim.LocalCommunications | ||
14 | { | ||
15 | public class LocalUserServices : UserManagerBase, IUserServices | ||
16 | { | ||
17 | |||
18 | public LocalUserServices() | ||
19 | { | ||
20 | |||
21 | } | ||
22 | |||
23 | public UserProfileData GetUserProfile(string first_name, string last_name) | ||
24 | { | ||
25 | return GetUserProfile(first_name + " " + last_name); | ||
26 | } | ||
27 | |||
28 | public UserProfileData GetUserProfile(string name) | ||
29 | { | ||
30 | return null; | ||
31 | } | ||
32 | public UserProfileData GetUserProfile(LLUUID avatar_id) | ||
33 | { | ||
34 | return null; | ||
35 | } | ||
36 | |||
37 | public override void CustomiseResponse(ref Hashtable response, ref UserProfileData theUser) | ||
38 | { | ||
39 | |||
40 | } | ||
41 | |||
42 | } | ||
43 | } | ||