diff options
author | BlueWall | 2013-12-06 02:52:13 -0500 |
---|---|---|
committer | BlueWall | 2013-12-06 02:52:13 -0500 |
commit | 1842388bb4dcf5ecd57732ffa877b6ca1a3dec7b (patch) | |
tree | 0d1feaac1a3ae79aa11cc435553f086a3d581581 /OpenSim/Services | |
parent | Adding profile partners fix to SQLite and PgSQL drivers (diff) | |
download | opensim-SC-1842388bb4dcf5ecd57732ffa877b6ca1a3dec7b.zip opensim-SC-1842388bb4dcf5ecd57732ffa877b6ca1a3dec7b.tar.gz opensim-SC-1842388bb4dcf5ecd57732ffa877b6ca1a3dec7b.tar.bz2 opensim-SC-1842388bb4dcf5ecd57732ffa877b6ca1a3dec7b.tar.xz |
Add support for user preferences (im via email)
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Interfaces/IUserProfilesService.cs | 5 | ||||
-rw-r--r-- | OpenSim/Services/UserProfilesService/UserProfilesService.cs | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IUserProfilesService.cs b/OpenSim/Services/Interfaces/IUserProfilesService.cs index 319d307..121baa8 100644 --- a/OpenSim/Services/Interfaces/IUserProfilesService.cs +++ b/OpenSim/Services/Interfaces/IUserProfilesService.cs | |||
@@ -57,6 +57,11 @@ namespace OpenSim.Services.Interfaces | |||
57 | bool AvatarPropertiesRequest(ref UserProfileProperties prop, ref string result); | 57 | bool AvatarPropertiesRequest(ref UserProfileProperties prop, ref string result); |
58 | bool AvatarPropertiesUpdate(ref UserProfileProperties prop, ref string result); | 58 | bool AvatarPropertiesUpdate(ref UserProfileProperties prop, ref string result); |
59 | #endregion Profile Properties | 59 | #endregion Profile Properties |
60 | |||
61 | #region User Preferences | ||
62 | bool UserPreferencesRequest(ref UserPreferences pref, ref string result); | ||
63 | bool UserPreferencesUpdate(ref UserPreferences pref, ref string result); | ||
64 | #endregion User Preferences | ||
60 | 65 | ||
61 | #region Interests | 66 | #region Interests |
62 | bool AvatarInterestsUpdate(UserProfileProperties prop, ref string result); | 67 | bool AvatarInterestsUpdate(UserProfileProperties prop, ref string result); |
diff --git a/OpenSim/Services/UserProfilesService/UserProfilesService.cs b/OpenSim/Services/UserProfilesService/UserProfilesService.cs index d00f34d..69c7b91 100644 --- a/OpenSim/Services/UserProfilesService/UserProfilesService.cs +++ b/OpenSim/Services/UserProfilesService/UserProfilesService.cs | |||
@@ -163,6 +163,18 @@ namespace OpenSim.Services.ProfilesService | |||
163 | } | 163 | } |
164 | #endregion Interests | 164 | #endregion Interests |
165 | 165 | ||
166 | #region User Preferences | ||
167 | public bool UserPreferencesUpdate(ref UserPreferences pref, ref string result) | ||
168 | { | ||
169 | return ProfilesData.UpdateUserPreferences(ref pref, ref result); | ||
170 | } | ||
171 | |||
172 | public bool UserPreferencesRequest(ref UserPreferences pref, ref string result) | ||
173 | { | ||
174 | return ProfilesData.GetUserPreferences(ref pref, ref result); | ||
175 | } | ||
176 | #endregion User Preferences | ||
177 | |||
166 | #region Utility | 178 | #region Utility |
167 | public OSD AvatarImageAssetsRequest(UUID avatarId) | 179 | public OSD AvatarImageAssetsRequest(UUID avatarId) |
168 | { | 180 | { |