diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Services/Interfaces | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Services/Interfaces')
15 files changed, 71 insertions, 71 deletions
diff --git a/OpenSim/Services/Interfaces/IAgentPreferencesService.cs b/OpenSim/Services/Interfaces/IAgentPreferencesService.cs index ae2c5ac..af92326 100644 --- a/OpenSim/Services/Interfaces/IAgentPreferencesService.cs +++ b/OpenSim/Services/Interfaces/IAgentPreferencesService.cs | |||
@@ -33,7 +33,7 @@ namespace OpenSim.Services.Interfaces | |||
33 | { | 33 | { |
34 | public class AgentPrefs | 34 | public class AgentPrefs |
35 | { | 35 | { |
36 | public AgentPrefs(UUID principalID) | 36 | public AgentPrefs(UUID principalID) |
37 | { | 37 | { |
38 | PrincipalID = principalID; | 38 | PrincipalID = principalID; |
39 | } | 39 | } |
diff --git a/OpenSim/Services/Interfaces/IAssetService.cs b/OpenSim/Services/Interfaces/IAssetService.cs index 28c3315..170dc97 100644 --- a/OpenSim/Services/Interfaces/IAssetService.cs +++ b/OpenSim/Services/Interfaces/IAssetService.cs | |||
@@ -47,7 +47,7 @@ namespace OpenSim.Services.Interfaces | |||
47 | /// <param name="id"></param> | 47 | /// <param name="id"></param> |
48 | /// <returns></returns> | 48 | /// <returns></returns> |
49 | AssetMetadata GetMetadata(string id); | 49 | AssetMetadata GetMetadata(string id); |
50 | 50 | ||
51 | /// <summary> | 51 | /// <summary> |
52 | /// Get an asset's data, ignoring the metadata. | 52 | /// Get an asset's data, ignoring the metadata. |
53 | /// </summary> | 53 | /// </summary> |
@@ -63,7 +63,7 @@ namespace OpenSim.Services.Interfaces | |||
63 | AssetBase GetCached(string id); | 63 | AssetBase GetCached(string id); |
64 | 64 | ||
65 | /// <summary> | 65 | /// <summary> |
66 | /// Get an asset synchronously or asynchronously (depending on whether | 66 | /// Get an asset synchronously or asynchronously (depending on whether |
67 | /// it is locally cached) and fire a callback with the fetched asset | 67 | /// it is locally cached) and fire a callback with the fetched asset |
68 | /// </summary> | 68 | /// </summary> |
69 | /// <param name="id">The asset id</param> | 69 | /// <param name="id">The asset id</param> |
@@ -75,7 +75,7 @@ namespace OpenSim.Services.Interfaces | |||
75 | /// </param> | 75 | /// </param> |
76 | /// <returns>True if the id was parseable, false otherwise</returns> | 76 | /// <returns>True if the id was parseable, false otherwise</returns> |
77 | bool Get(string id, Object sender, AssetRetrieved handler); | 77 | bool Get(string id, Object sender, AssetRetrieved handler); |
78 | 78 | ||
79 | /// <summary> | 79 | /// <summary> |
80 | /// Check if assets exist in the database. | 80 | /// Check if assets exist in the database. |
81 | /// </summary> | 81 | /// </summary> |
diff --git a/OpenSim/Services/Interfaces/IAuthenticationService.cs b/OpenSim/Services/Interfaces/IAuthenticationService.cs index cdcfad9..1ff092f 100644 --- a/OpenSim/Services/Interfaces/IAuthenticationService.cs +++ b/OpenSim/Services/Interfaces/IAuthenticationService.cs | |||
@@ -55,7 +55,7 @@ namespace OpenSim.Services.Interfaces | |||
55 | // Generic Authentication service used for identifying | 55 | // Generic Authentication service used for identifying |
56 | // and authenticating principals. | 56 | // and authenticating principals. |
57 | // Principals may be clients acting on users' behalf, | 57 | // Principals may be clients acting on users' behalf, |
58 | // or any other components that need | 58 | // or any other components that need |
59 | // verifiable identification. | 59 | // verifiable identification. |
60 | // | 60 | // |
61 | public interface IAuthenticationService | 61 | public interface IAuthenticationService |
diff --git a/OpenSim/Services/Interfaces/IAuthorizationService.cs b/OpenSim/Services/Interfaces/IAuthorizationService.cs index e5c68f6..d4c697a 100644 --- a/OpenSim/Services/Interfaces/IAuthorizationService.cs +++ b/OpenSim/Services/Interfaces/IAuthorizationService.cs | |||
@@ -31,7 +31,7 @@ using OpenSim.Framework; | |||
31 | namespace OpenSim.Services.Interfaces | 31 | namespace OpenSim.Services.Interfaces |
32 | { | 32 | { |
33 | // Generic Authorization service used for authorizing principals in a particular region | 33 | // Generic Authorization service used for authorizing principals in a particular region |
34 | 34 | ||
35 | public interface IAuthorizationService | 35 | public interface IAuthorizationService |
36 | { | 36 | { |
37 | /// <summary> | 37 | /// <summary> |
@@ -50,7 +50,7 @@ namespace OpenSim.Services.Interfaces | |||
50 | bool IsAuthorizedForRegion( | 50 | bool IsAuthorizedForRegion( |
51 | string userID, string firstName, string lastName, string regionID, out string message); | 51 | string userID, string firstName, string lastName, string regionID, out string message); |
52 | } | 52 | } |
53 | 53 | ||
54 | public class AuthorizationRequest | 54 | public class AuthorizationRequest |
55 | { | 55 | { |
56 | private string m_userID; | 56 | private string m_userID; |
@@ -69,7 +69,7 @@ namespace OpenSim.Services.Interfaces | |||
69 | m_userID = ID; | 69 | m_userID = ID; |
70 | m_regionID = RegionID; | 70 | m_regionID = RegionID; |
71 | } | 71 | } |
72 | 72 | ||
73 | public AuthorizationRequest( | 73 | public AuthorizationRequest( |
74 | string ID, string FirstName, string SurName, string Email, string RegionName, string RegionID) | 74 | string ID, string FirstName, string SurName, string Email, string RegionName, string RegionID) |
75 | { | 75 | { |
@@ -80,44 +80,44 @@ namespace OpenSim.Services.Interfaces | |||
80 | m_regionName = RegionName; | 80 | m_regionName = RegionName; |
81 | m_regionID = RegionID; | 81 | m_regionID = RegionID; |
82 | } | 82 | } |
83 | 83 | ||
84 | public string ID | 84 | public string ID |
85 | { | 85 | { |
86 | get { return m_userID; } | 86 | get { return m_userID; } |
87 | set { m_userID = value; } | 87 | set { m_userID = value; } |
88 | } | 88 | } |
89 | 89 | ||
90 | public string FirstName | 90 | public string FirstName |
91 | { | 91 | { |
92 | get { return m_firstname; } | 92 | get { return m_firstname; } |
93 | set { m_firstname = value; } | 93 | set { m_firstname = value; } |
94 | } | 94 | } |
95 | 95 | ||
96 | public string SurName | 96 | public string SurName |
97 | { | 97 | { |
98 | get { return m_surname; } | 98 | get { return m_surname; } |
99 | set { m_surname = value; } | 99 | set { m_surname = value; } |
100 | } | 100 | } |
101 | 101 | ||
102 | public string Email | 102 | public string Email |
103 | { | 103 | { |
104 | get { return m_email; } | 104 | get { return m_email; } |
105 | set { m_email = value; } | 105 | set { m_email = value; } |
106 | } | 106 | } |
107 | 107 | ||
108 | public string RegionName | 108 | public string RegionName |
109 | { | 109 | { |
110 | get { return m_regionName; } | 110 | get { return m_regionName; } |
111 | set { m_regionName = value; } | 111 | set { m_regionName = value; } |
112 | } | 112 | } |
113 | 113 | ||
114 | public string RegionID | 114 | public string RegionID |
115 | { | 115 | { |
116 | get { return m_regionID; } | 116 | get { return m_regionID; } |
117 | set { m_regionID = value; } | 117 | set { m_regionID = value; } |
118 | } | 118 | } |
119 | } | 119 | } |
120 | 120 | ||
121 | public class AuthorizationResponse | 121 | public class AuthorizationResponse |
122 | { | 122 | { |
123 | private bool m_isAuthorized; | 123 | private bool m_isAuthorized; |
@@ -132,13 +132,13 @@ namespace OpenSim.Services.Interfaces | |||
132 | m_isAuthorized = isAuthorized; | 132 | m_isAuthorized = isAuthorized; |
133 | m_message = message; | 133 | m_message = message; |
134 | } | 134 | } |
135 | 135 | ||
136 | public bool IsAuthorized | 136 | public bool IsAuthorized |
137 | { | 137 | { |
138 | get { return m_isAuthorized; } | 138 | get { return m_isAuthorized; } |
139 | set { m_isAuthorized = value; } | 139 | set { m_isAuthorized = value; } |
140 | } | 140 | } |
141 | 141 | ||
142 | public string Message | 142 | public string Message |
143 | { | 143 | { |
144 | get { return m_message; } | 144 | get { return m_message; } |
diff --git a/OpenSim/Services/Interfaces/IAvatarService.cs b/OpenSim/Services/Interfaces/IAvatarService.cs index 99b71b9..b4dc511 100644 --- a/OpenSim/Services/Interfaces/IAvatarService.cs +++ b/OpenSim/Services/Interfaces/IAvatarService.cs | |||
@@ -51,7 +51,7 @@ namespace OpenSim.Services.Interfaces | |||
51 | /// <param name="appearance"></param> | 51 | /// <param name="appearance"></param> |
52 | /// <returns></returns> | 52 | /// <returns></returns> |
53 | bool SetAppearance(UUID userID, AvatarAppearance appearance); | 53 | bool SetAppearance(UUID userID, AvatarAppearance appearance); |
54 | 54 | ||
55 | /// <summary> | 55 | /// <summary> |
56 | /// Called by the login service | 56 | /// Called by the login service |
57 | /// </summary> | 57 | /// </summary> |
@@ -75,7 +75,7 @@ namespace OpenSim.Services.Interfaces | |||
75 | bool ResetAvatar(UUID userID); | 75 | bool ResetAvatar(UUID userID); |
76 | 76 | ||
77 | /// <summary> | 77 | /// <summary> |
78 | /// These methods raison d'etre: | 78 | /// These methods raison d'etre: |
79 | /// No need to send the entire avatar data (SetAvatar) for changing attachments | 79 | /// No need to send the entire avatar data (SetAvatar) for changing attachments |
80 | /// </summary> | 80 | /// </summary> |
81 | /// <param name="userID"></param> | 81 | /// <param name="userID"></param> |
@@ -291,8 +291,8 @@ namespace OpenSim.Services.Interfaces | |||
291 | byte[] binary = new byte[vps.Length]; | 291 | byte[] binary = new byte[vps.Length]; |
292 | 292 | ||
293 | for (int i = 0; i < vps.Length; i++) | 293 | for (int i = 0; i < vps.Length; i++) |
294 | binary[i] = (byte)Convert.ToInt32(vps[i]); | 294 | binary[i] = (byte)Convert.ToInt32(vps[i]); |
295 | 295 | ||
296 | appearance.VisualParams = binary; | 296 | appearance.VisualParams = binary; |
297 | } | 297 | } |
298 | 298 | ||
diff --git a/OpenSim/Services/Interfaces/IEstateDataService.cs b/OpenSim/Services/Interfaces/IEstateDataService.cs index 719563d..9b64a39 100644 --- a/OpenSim/Services/Interfaces/IEstateDataService.cs +++ b/OpenSim/Services/Interfaces/IEstateDataService.cs | |||
@@ -39,14 +39,14 @@ namespace OpenSim.Services.Interfaces | |||
39 | /// </summary> | 39 | /// </summary> |
40 | /// <param name="regionID"></param> | 40 | /// <param name="regionID"></param> |
41 | /// <param name="create">If true, then an estate is created if one is not found.</param> | 41 | /// <param name="create">If true, then an estate is created if one is not found.</param> |
42 | /// <returns></returns> | 42 | /// <returns></returns> |
43 | EstateSettings LoadEstateSettings(UUID regionID, bool create); | 43 | EstateSettings LoadEstateSettings(UUID regionID, bool create); |
44 | 44 | ||
45 | /// <summary> | 45 | /// <summary> |
46 | /// Load estate settings for an estate ID. | 46 | /// Load estate settings for an estate ID. |
47 | /// </summary> | 47 | /// </summary> |
48 | /// <param name="estateID"></param> | 48 | /// <param name="estateID"></param> |
49 | /// <returns></returns> | 49 | /// <returns></returns> |
50 | EstateSettings LoadEstateSettings(int estateID); | 50 | EstateSettings LoadEstateSettings(int estateID); |
51 | 51 | ||
52 | /// <summary> | 52 | /// <summary> |
@@ -56,60 +56,60 @@ namespace OpenSim.Services.Interfaces | |||
56 | /// A <see cref="EstateSettings"/> | 56 | /// A <see cref="EstateSettings"/> |
57 | /// </returns> | 57 | /// </returns> |
58 | EstateSettings CreateNewEstate(); | 58 | EstateSettings CreateNewEstate(); |
59 | 59 | ||
60 | /// <summary> | 60 | /// <summary> |
61 | /// Load/Get all estate settings. | 61 | /// Load/Get all estate settings. |
62 | /// </summary> | 62 | /// </summary> |
63 | /// <returns>An empty list if no estates were found.</returns> | 63 | /// <returns>An empty list if no estates were found.</returns> |
64 | List<EstateSettings> LoadEstateSettingsAll(); | 64 | List<EstateSettings> LoadEstateSettingsAll(); |
65 | 65 | ||
66 | /// <summary> | 66 | /// <summary> |
67 | /// Store estate settings. | 67 | /// Store estate settings. |
68 | /// </summary> | 68 | /// </summary> |
69 | /// <remarks> | 69 | /// <remarks> |
70 | /// This is also called by EstateSettings.Save()</remarks> | 70 | /// This is also called by EstateSettings.Save()</remarks> |
71 | /// <param name="es"></param> | 71 | /// <param name="es"></param> |
72 | void StoreEstateSettings(EstateSettings es); | 72 | void StoreEstateSettings(EstateSettings es); |
73 | 73 | ||
74 | /// <summary> | 74 | /// <summary> |
75 | /// Get estate IDs. | 75 | /// Get estate IDs. |
76 | /// </summary> | 76 | /// </summary> |
77 | /// <param name="search">Name of estate to search for. This is the exact name, no parttern matching is done.</param> | 77 | /// <param name="search">Name of estate to search for. This is the exact name, no parttern matching is done.</param> |
78 | /// <returns></returns> | 78 | /// <returns></returns> |
79 | List<int> GetEstates(string search); | 79 | List<int> GetEstates(string search); |
80 | 80 | ||
81 | /// <summary> | 81 | /// <summary> |
82 | /// Get the IDs of all estates owned by the given user. | 82 | /// Get the IDs of all estates owned by the given user. |
83 | /// </summary> | 83 | /// </summary> |
84 | /// <returns>An empty list if no estates were found.</returns> | 84 | /// <returns>An empty list if no estates were found.</returns> |
85 | List<int> GetEstatesByOwner(UUID ownerID); | 85 | List<int> GetEstatesByOwner(UUID ownerID); |
86 | 86 | ||
87 | /// <summary> | 87 | /// <summary> |
88 | /// Get the IDs of all estates. | 88 | /// Get the IDs of all estates. |
89 | /// </summary> | 89 | /// </summary> |
90 | /// <returns>An empty list if no estates were found.</returns> | 90 | /// <returns>An empty list if no estates were found.</returns> |
91 | List<int> GetEstatesAll(); | 91 | List<int> GetEstatesAll(); |
92 | 92 | ||
93 | /// <summary> | 93 | /// <summary> |
94 | /// Link a region to an estate. | 94 | /// Link a region to an estate. |
95 | /// </summary> | 95 | /// </summary> |
96 | /// <param name="regionID"></param> | 96 | /// <param name="regionID"></param> |
97 | /// <param name="estateID"></param> | 97 | /// <param name="estateID"></param> |
98 | /// <returns>true if the link succeeded, false otherwise</returns> | 98 | /// <returns>true if the link succeeded, false otherwise</returns> |
99 | bool LinkRegion(UUID regionID, int estateID); | 99 | bool LinkRegion(UUID regionID, int estateID); |
100 | 100 | ||
101 | /// <summary> | 101 | /// <summary> |
102 | /// Get the UUIDs of all the regions in an estate. | 102 | /// Get the UUIDs of all the regions in an estate. |
103 | /// </summary> | 103 | /// </summary> |
104 | /// <param name="estateID"></param> | 104 | /// <param name="estateID"></param> |
105 | /// <returns></returns> | 105 | /// <returns></returns> |
106 | List<UUID> GetRegions(int estateID); | 106 | List<UUID> GetRegions(int estateID); |
107 | 107 | ||
108 | /// <summary> | 108 | /// <summary> |
109 | /// Delete an estate | 109 | /// Delete an estate |
110 | /// </summary> | 110 | /// </summary> |
111 | /// <param name="estateID"></param> | 111 | /// <param name="estateID"></param> |
112 | /// <returns>true if the delete succeeded, false otherwise</returns> | 112 | /// <returns>true if the delete succeeded, false otherwise</returns> |
113 | bool DeleteEstate(int estateID); | 113 | bool DeleteEstate(int estateID); |
114 | } | 114 | } |
115 | } \ No newline at end of file | 115 | } \ No newline at end of file |
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs index 63c6e5f..66e5870 100644 --- a/OpenSim/Services/Interfaces/IGridService.cs +++ b/OpenSim/Services/Interfaces/IGridService.cs | |||
@@ -85,7 +85,7 @@ namespace OpenSim.Services.Interfaces | |||
85 | GridRegion GetRegionByName(UUID scopeID, string regionName); | 85 | GridRegion GetRegionByName(UUID scopeID, string regionName); |
86 | 86 | ||
87 | /// <summary> | 87 | /// <summary> |
88 | /// Get information about regions starting with the provided name. | 88 | /// Get information about regions starting with the provided name. |
89 | /// </summary> | 89 | /// </summary> |
90 | /// <param name="name"> | 90 | /// <param name="name"> |
91 | /// The name to match against. | 91 | /// The name to match against. |
@@ -95,7 +95,7 @@ namespace OpenSim.Services.Interfaces | |||
95 | /// </param> | 95 | /// </param> |
96 | /// <returns> | 96 | /// <returns> |
97 | /// A list of <see cref="RegionInfo"/>s of regions with matching name. If the | 97 | /// A list of <see cref="RegionInfo"/>s of regions with matching name. If the |
98 | /// grid-server couldn't be contacted or returned an error, return null. | 98 | /// grid-server couldn't be contacted or returned an error, return null. |
99 | /// </returns> | 99 | /// </returns> |
100 | List<GridRegion> GetRegionsByName(UUID scopeID, string name, int maxNumber); | 100 | List<GridRegion> GetRegionsByName(UUID scopeID, string name, int maxNumber); |
101 | 101 | ||
@@ -139,7 +139,7 @@ namespace OpenSim.Services.Interfaces | |||
139 | #pragma warning restore 414 | 139 | #pragma warning restore 414 |
140 | 140 | ||
141 | /// <summary> | 141 | /// <summary> |
142 | /// The port by which http communication occurs with the region | 142 | /// The port by which http communication occurs with the region |
143 | /// </summary> | 143 | /// </summary> |
144 | public uint HttpPort { get; set; } | 144 | public uint HttpPort { get; set; } |
145 | 145 | ||
@@ -148,7 +148,7 @@ namespace OpenSim.Services.Interfaces | |||
148 | /// </summary> | 148 | /// </summary> |
149 | public string ServerURI | 149 | public string ServerURI |
150 | { | 150 | { |
151 | get { | 151 | get { |
152 | if (!String.IsNullOrEmpty(m_serverURI)) { | 152 | if (!String.IsNullOrEmpty(m_serverURI)) { |
153 | return m_serverURI; | 153 | return m_serverURI; |
154 | } else { | 154 | } else { |
@@ -158,7 +158,7 @@ namespace OpenSim.Services.Interfaces | |||
158 | return "http://" + m_externalHostName + ":" + HttpPort + "/"; | 158 | return "http://" + m_externalHostName + ":" + HttpPort + "/"; |
159 | } | 159 | } |
160 | } | 160 | } |
161 | set { | 161 | set { |
162 | if ( value == null) | 162 | if ( value == null) |
163 | { | 163 | { |
164 | m_serverURI = String.Empty; | 164 | m_serverURI = String.Empty; |
@@ -344,7 +344,7 @@ namespace OpenSim.Services.Interfaces | |||
344 | RegionSecret = ConvertFrom.RegionSecret; | 344 | RegionSecret = ConvertFrom.RegionSecret; |
345 | EstateOwner = ConvertFrom.EstateOwner; | 345 | EstateOwner = ConvertFrom.EstateOwner; |
346 | } | 346 | } |
347 | 347 | ||
348 | public GridRegion(Dictionary<string, object> kvp) | 348 | public GridRegion(Dictionary<string, object> kvp) |
349 | { | 349 | { |
350 | if (kvp.ContainsKey("uuid")) | 350 | if (kvp.ContainsKey("uuid")) |
@@ -424,7 +424,7 @@ namespace OpenSim.Services.Interfaces | |||
424 | // m_log.DebugFormat("{0} New GridRegion. id={1}, loc=<{2},{3}>, size=<{4},{5}>", | 424 | // m_log.DebugFormat("{0} New GridRegion. id={1}, loc=<{2},{3}>, size=<{4},{5}>", |
425 | // LogHeader, RegionID, RegionLocX, RegionLocY, RegionSizeX, RegionSizeY); | 425 | // LogHeader, RegionID, RegionLocX, RegionLocY, RegionSizeX, RegionSizeY); |
426 | } | 426 | } |
427 | 427 | ||
428 | public Dictionary<string, object> ToKeyValuePairs() | 428 | public Dictionary<string, object> ToKeyValuePairs() |
429 | { | 429 | { |
430 | Dictionary<string, object> kvp = new Dictionary<string, object>(); | 430 | Dictionary<string, object> kvp = new Dictionary<string, object>(); |
diff --git a/OpenSim/Services/Interfaces/IGridUserService.cs b/OpenSim/Services/Interfaces/IGridUserService.cs index 2e7237e..6ad0f42 100644 --- a/OpenSim/Services/Interfaces/IGridUserService.cs +++ b/OpenSim/Services/Interfaces/IGridUserService.cs | |||
@@ -37,7 +37,7 @@ namespace OpenSim.Services.Interfaces | |||
37 | public class GridUserInfo | 37 | public class GridUserInfo |
38 | { | 38 | { |
39 | public string UserID; | 39 | public string UserID; |
40 | 40 | ||
41 | public UUID HomeRegionID; | 41 | public UUID HomeRegionID; |
42 | public Vector3 HomePosition; | 42 | public Vector3 HomePosition; |
43 | public Vector3 HomeLookAt; | 43 | public Vector3 HomeLookAt; |
@@ -45,13 +45,13 @@ namespace OpenSim.Services.Interfaces | |||
45 | public UUID LastRegionID; | 45 | public UUID LastRegionID; |
46 | public Vector3 LastPosition; | 46 | public Vector3 LastPosition; |
47 | public Vector3 LastLookAt; | 47 | public Vector3 LastLookAt; |
48 | 48 | ||
49 | public bool Online; | 49 | public bool Online; |
50 | public DateTime Login; | 50 | public DateTime Login; |
51 | public DateTime Logout; | 51 | public DateTime Logout; |
52 | 52 | ||
53 | public GridUserInfo() {} | 53 | public GridUserInfo() {} |
54 | 54 | ||
55 | public GridUserInfo(Dictionary<string, object> kvp) | 55 | public GridUserInfo(Dictionary<string, object> kvp) |
56 | { | 56 | { |
57 | if (kvp.ContainsKey("UserID")) | 57 | if (kvp.ContainsKey("UserID")) |
@@ -96,11 +96,11 @@ namespace OpenSim.Services.Interfaces | |||
96 | result["Online"] = Online.ToString(); | 96 | result["Online"] = Online.ToString(); |
97 | result["Login"] = Login.ToString(); | 97 | result["Login"] = Login.ToString(); |
98 | result["Logout"] = Logout.ToString(); | 98 | result["Logout"] = Logout.ToString(); |
99 | 99 | ||
100 | return result; | 100 | return result; |
101 | } | 101 | } |
102 | } | 102 | } |
103 | 103 | ||
104 | public interface IGridUserService | 104 | public interface IGridUserService |
105 | { | 105 | { |
106 | GridUserInfo LoggedIn(string userID); | 106 | GridUserInfo LoggedIn(string userID); |
@@ -115,7 +115,7 @@ namespace OpenSim.Services.Interfaces | |||
115 | /// <param name="lastLookAt">Last normalized look direction for the user</param> | 115 | /// <param name="lastLookAt">Last normalized look direction for the user</param> |
116 | /// <returns>True if the logout request was successfully processed, otherwise false</returns> | 116 | /// <returns>True if the logout request was successfully processed, otherwise false</returns> |
117 | bool LoggedOut(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); | 117 | bool LoggedOut(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); |
118 | 118 | ||
119 | bool SetHome(string userID, UUID homeID, Vector3 homePosition, Vector3 homeLookAt); | 119 | bool SetHome(string userID, UUID homeID, Vector3 homePosition, Vector3 homeLookAt); |
120 | 120 | ||
121 | /// <summary> | 121 | /// <summary> |
@@ -128,7 +128,7 @@ namespace OpenSim.Services.Interfaces | |||
128 | /// <param name="lastLookAt">Normalized look direction</param> | 128 | /// <param name="lastLookAt">Normalized look direction</param> |
129 | /// <returns>True if the user's last position was successfully updated, otherwise false</returns> | 129 | /// <returns>True if the user's last position was successfully updated, otherwise false</returns> |
130 | bool SetLastPosition(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); | 130 | bool SetLastPosition(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); |
131 | 131 | ||
132 | GridUserInfo GetGridUserInfo(string userID); | 132 | GridUserInfo GetGridUserInfo(string userID); |
133 | GridUserInfo[] GetGridUserInfo(string[] userID); | 133 | GridUserInfo[] GetGridUserInfo(string[] userID); |
134 | } | 134 | } |
diff --git a/OpenSim/Services/Interfaces/IHypergridServices.cs b/OpenSim/Services/Interfaces/IHypergridServices.cs index 1815e6c..e0a63ca 100644 --- a/OpenSim/Services/Interfaces/IHypergridServices.cs +++ b/OpenSim/Services/Interfaces/IHypergridServices.cs | |||
@@ -37,7 +37,7 @@ namespace OpenSim.Services.Interfaces | |||
37 | public interface IGatekeeperService | 37 | public interface IGatekeeperService |
38 | { | 38 | { |
39 | bool LinkRegion(string regionDescriptor, out UUID regionID, out ulong regionHandle, out string externalName, out string imageURL, out string reason, out int sizeX, out int sizeY); | 39 | bool LinkRegion(string regionDescriptor, out UUID regionID, out ulong regionHandle, out string externalName, out string imageURL, out string reason, out int sizeX, out int sizeY); |
40 | 40 | ||
41 | /// <summary> | 41 | /// <summary> |
42 | /// Returns the region a Hypergrid visitor should enter. | 42 | /// Returns the region a Hypergrid visitor should enter. |
43 | /// </summary> | 43 | /// </summary> |
@@ -59,7 +59,7 @@ namespace OpenSim.Services.Interfaces | |||
59 | public interface IUserAgentService | 59 | public interface IUserAgentService |
60 | { | 60 | { |
61 | bool LoginAgentToGrid(GridRegion source, AgentCircuitData agent, GridRegion gatekeeper, GridRegion finalDestination, bool fromLogin, out string reason); | 61 | bool LoginAgentToGrid(GridRegion source, AgentCircuitData agent, GridRegion gatekeeper, GridRegion finalDestination, bool fromLogin, out string reason); |
62 | 62 | ||
63 | void LogoutAgent(UUID userID, UUID sessionID); | 63 | void LogoutAgent(UUID userID, UUID sessionID); |
64 | 64 | ||
65 | /// <summary> | 65 | /// <summary> |
@@ -89,7 +89,7 @@ namespace OpenSim.Services.Interfaces | |||
89 | /// <returns>On success: the user's Server URLs. If the user doesn't exist: "".</returns> | 89 | /// <returns>On success: the user's Server URLs. If the user doesn't exist: "".</returns> |
90 | /// <remarks>Throws an exception if an error occurs (e.g., can't contact the server).</remarks> | 90 | /// <remarks>Throws an exception if an error occurs (e.g., can't contact the server).</remarks> |
91 | string LocateUser(UUID userID); | 91 | string LocateUser(UUID userID); |
92 | 92 | ||
93 | /// <summary> | 93 | /// <summary> |
94 | /// Returns the Universal User Identifier for 'targetUserID' on behalf of 'userID'. | 94 | /// Returns the Universal User Identifier for 'targetUserID' on behalf of 'userID'. |
95 | /// </summary> | 95 | /// </summary> |
diff --git a/OpenSim/Services/Interfaces/IInventoryService.cs b/OpenSim/Services/Interfaces/IInventoryService.cs index c0c9ba8..582ea90 100644 --- a/OpenSim/Services/Interfaces/IInventoryService.cs +++ b/OpenSim/Services/Interfaces/IInventoryService.cs | |||
@@ -84,7 +84,7 @@ namespace OpenSim.Services.Interfaces | |||
84 | /// <param name="folderIDs"></param> | 84 | /// <param name="folderIDs"></param> |
85 | /// <returns>Inventory content.</returns> | 85 | /// <returns>Inventory content.</returns> |
86 | InventoryCollection[] GetMultipleFoldersContent(UUID userID, UUID[] folderIDs); | 86 | InventoryCollection[] GetMultipleFoldersContent(UUID userID, UUID[] folderIDs); |
87 | 87 | ||
88 | /// <summary> | 88 | /// <summary> |
89 | /// Gets the items inside a folder | 89 | /// Gets the items inside a folder |
90 | /// </summary> | 90 | /// </summary> |
@@ -193,11 +193,11 @@ namespace OpenSim.Services.Interfaces | |||
193 | 193 | ||
194 | /// <summary> | 194 | /// <summary> |
195 | /// Get the union of permissions of all inventory items | 195 | /// Get the union of permissions of all inventory items |
196 | /// that hold the given assetID. | 196 | /// that hold the given assetID. |
197 | /// </summary> | 197 | /// </summary> |
198 | /// <param name="userID"></param> | 198 | /// <param name="userID"></param> |
199 | /// <param name="assetID"></param> | 199 | /// <param name="assetID"></param> |
200 | /// <returns>The permissions or 0 if no such asset is found in | 200 | /// <returns>The permissions or 0 if no such asset is found in |
201 | /// the user's inventory</returns> | 201 | /// the user's inventory</returns> |
202 | int GetAssetPermissions(UUID userID, UUID assetID); | 202 | int GetAssetPermissions(UUID userID, UUID assetID); |
203 | } | 203 | } |
diff --git a/OpenSim/Services/Interfaces/IOfflineIMService.cs b/OpenSim/Services/Interfaces/IOfflineIMService.cs index 588aaaf..db501fd 100644 --- a/OpenSim/Services/Interfaces/IOfflineIMService.cs +++ b/OpenSim/Services/Interfaces/IOfflineIMService.cs | |||
@@ -35,9 +35,9 @@ namespace OpenSim.Services.Interfaces | |||
35 | public interface IOfflineIMService | 35 | public interface IOfflineIMService |
36 | { | 36 | { |
37 | List<GridInstantMessage> GetMessages(UUID principalID); | 37 | List<GridInstantMessage> GetMessages(UUID principalID); |
38 | 38 | ||
39 | bool StoreMessage(GridInstantMessage im, out string reason); | 39 | bool StoreMessage(GridInstantMessage im, out string reason); |
40 | 40 | ||
41 | /// <summary> | 41 | /// <summary> |
42 | /// Delete messages to or from this user (or group). | 42 | /// Delete messages to or from this user (or group). |
43 | /// </summary> | 43 | /// </summary> |
diff --git a/OpenSim/Services/Interfaces/ISimulationService.cs b/OpenSim/Services/Interfaces/ISimulationService.cs index d89f6ff..a01897a 100644 --- a/OpenSim/Services/Interfaces/ISimulationService.cs +++ b/OpenSim/Services/Interfaces/ISimulationService.cs | |||
@@ -59,7 +59,7 @@ namespace OpenSim.Services.Interfaces | |||
59 | /// <param name="destination"></param> | 59 | /// <param name="destination"></param> |
60 | /// <param name="aCircuit"></param> | 60 | /// <param name="aCircuit"></param> |
61 | /// <param name="flags"></param> | 61 | /// <param name="flags"></param> |
62 | /// <param name="reason">Reason message in the event of a failure.</param> | 62 | /// <param name="reason">Reason message in the event of a failure.</param> |
63 | bool CreateAgent(GridRegion source, GridRegion destination, AgentCircuitData aCircuit, uint flags, EntityTransferContext ctx, out string reason); | 63 | bool CreateAgent(GridRegion source, GridRegion destination, AgentCircuitData aCircuit, uint flags, EntityTransferContext ctx, out string reason); |
64 | 64 | ||
65 | /// <summary> | 65 | /// <summary> |
diff --git a/OpenSim/Services/Interfaces/IUserProfilesService.cs b/OpenSim/Services/Interfaces/IUserProfilesService.cs index 121baa8..867c623 100644 --- a/OpenSim/Services/Interfaces/IUserProfilesService.cs +++ b/OpenSim/Services/Interfaces/IUserProfilesService.cs | |||
@@ -40,19 +40,19 @@ namespace OpenSim.Services.Interfaces | |||
40 | bool ClassifiedInfoRequest(ref UserClassifiedAdd ad, ref string result); | 40 | bool ClassifiedInfoRequest(ref UserClassifiedAdd ad, ref string result); |
41 | bool ClassifiedDelete(UUID recordId); | 41 | bool ClassifiedDelete(UUID recordId); |
42 | #endregion Classifieds | 42 | #endregion Classifieds |
43 | 43 | ||
44 | #region Picks | 44 | #region Picks |
45 | OSD AvatarPicksRequest(UUID creatorId); | 45 | OSD AvatarPicksRequest(UUID creatorId); |
46 | bool PickInfoRequest(ref UserProfilePick pick, ref string result); | 46 | bool PickInfoRequest(ref UserProfilePick pick, ref string result); |
47 | bool PicksUpdate(ref UserProfilePick pick, ref string result); | 47 | bool PicksUpdate(ref UserProfilePick pick, ref string result); |
48 | bool PicksDelete(UUID pickId); | 48 | bool PicksDelete(UUID pickId); |
49 | #endregion Picks | 49 | #endregion Picks |
50 | 50 | ||
51 | #region Notes | 51 | #region Notes |
52 | bool AvatarNotesRequest(ref UserProfileNotes note); | 52 | bool AvatarNotesRequest(ref UserProfileNotes note); |
53 | bool NotesUpdate(ref UserProfileNotes note, ref string result); | 53 | bool NotesUpdate(ref UserProfileNotes note, ref string result); |
54 | #endregion Notes | 54 | #endregion Notes |
55 | 55 | ||
56 | #region Profile Properties | 56 | #region Profile Properties |
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); |
@@ -62,7 +62,7 @@ namespace OpenSim.Services.Interfaces | |||
62 | bool UserPreferencesRequest(ref UserPreferences pref, ref string result); | 62 | bool UserPreferencesRequest(ref UserPreferences pref, ref string result); |
63 | bool UserPreferencesUpdate(ref UserPreferences pref, ref string result); | 63 | bool UserPreferencesUpdate(ref UserPreferences pref, ref string result); |
64 | #endregion User Preferences | 64 | #endregion User Preferences |
65 | 65 | ||
66 | #region Interests | 66 | #region Interests |
67 | bool AvatarInterestsUpdate(UserProfileProperties prop, ref string result); | 67 | bool AvatarInterestsUpdate(UserProfileProperties prop, ref string result); |
68 | #endregion Interests | 68 | #endregion Interests |
diff --git a/OpenSim/Services/Interfaces/OpenProfileClient.cs b/OpenSim/Services/Interfaces/OpenProfileClient.cs index bda8151..8c4d14b 100644 --- a/OpenSim/Services/Interfaces/OpenProfileClient.cs +++ b/OpenSim/Services/Interfaces/OpenProfileClient.cs | |||
@@ -49,7 +49,7 @@ namespace OpenSim.Services.UserProfilesService | |||
49 | public class OpenProfileClient | 49 | public class OpenProfileClient |
50 | { | 50 | { |
51 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 51 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
52 | 52 | ||
53 | private string m_serverURI; | 53 | private string m_serverURI; |
54 | 54 | ||
55 | /// <summary> | 55 | /// <summary> |
@@ -60,7 +60,7 @@ namespace OpenSim.Services.UserProfilesService | |||
60 | { | 60 | { |
61 | m_serverURI = serverURI; | 61 | m_serverURI = serverURI; |
62 | } | 62 | } |
63 | 63 | ||
64 | /// <summary> | 64 | /// <summary> |
65 | /// Gets an avatar's profile using the OpenProfile protocol. | 65 | /// Gets an avatar's profile using the OpenProfile protocol. |
66 | /// </summary> | 66 | /// </summary> |
diff --git a/OpenSim/Services/Interfaces/Properties/AssemblyInfo.cs b/OpenSim/Services/Interfaces/Properties/AssemblyInfo.cs index 115afa2..6c683b4 100644 --- a/OpenSim/Services/Interfaces/Properties/AssemblyInfo.cs +++ b/OpenSim/Services/Interfaces/Properties/AssemblyInfo.cs | |||
@@ -2,7 +2,7 @@ | |||
2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
4 | 4 | ||
5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 7 | // associated with an assembly. |
8 | [assembly: AssemblyTitle("OpenSim.Services.Interfaces")] | 8 | [assembly: AssemblyTitle("OpenSim.Services.Interfaces")] |
@@ -14,8 +14,8 @@ using System.Runtime.InteropServices; | |||
14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
16 | 16 | ||
17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
21 | 21 | ||
@@ -25,7 +25,7 @@ using System.Runtime.InteropServices; | |||
25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
26 | // | 26 | // |
27 | // Major Version | 27 | // Major Version |
28 | // Minor Version | 28 | // Minor Version |
29 | // Build Number | 29 | // Build Number |
30 | // Revision | 30 | // Revision |
31 | // | 31 | // |