aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorDahlia Trimble2008-11-03 05:22:36 +0000
committerDahlia Trimble2008-11-03 05:22:36 +0000
commit8aa16a9acf6f43598dba04632bb4b42bcd53d3b7 (patch)
tree0c046bcb9335de0d9bc4014f3c8d06541b7b76d2 /OpenSim/Framework
parentMantis #2530. Thank you kindly, Idb for a patch that: (diff)
downloadopensim-SC_OLD-8aa16a9acf6f43598dba04632bb4b42bcd53d3b7.zip
opensim-SC_OLD-8aa16a9acf6f43598dba04632bb4b42bcd53d3b7.tar.gz
opensim-SC_OLD-8aa16a9acf6f43598dba04632bb4b42bcd53d3b7.tar.bz2
opensim-SC_OLD-8aa16a9acf6f43598dba04632bb4b42bcd53d3b7.tar.xz
Thanks diva for patch that makes a bunch of methods in InventoryServiceBase virtual, so that they can be overriden in subclasses.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/InventoryServiceBase.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs
index d6392c4..5841151 100644
--- a/OpenSim/Framework/Communications/InventoryServiceBase.cs
+++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs
@@ -111,7 +111,7 @@ namespace OpenSim.Framework.Communications
111 } 111 }
112 112
113 // See IInventoryServices 113 // See IInventoryServices
114 public InventoryFolderBase RequestRootFolder(UUID userID) 114 public virtual InventoryFolderBase RequestRootFolder(UUID userID)
115 { 115 {
116 // FIXME: Probably doesn't do what was originally intended - only ever queries the first plugin 116 // FIXME: Probably doesn't do what was originally intended - only ever queries the first plugin
117 foreach (IInventoryDataPlugin plugin in m_plugins) 117 foreach (IInventoryDataPlugin plugin in m_plugins)
@@ -185,7 +185,7 @@ namespace OpenSim.Framework.Communications
185 #endregion 185 #endregion
186 186
187 // See IInventoryServices 187 // See IInventoryServices
188 public bool AddFolder(InventoryFolderBase folder) 188 public virtual bool AddFolder(InventoryFolderBase folder)
189 { 189 {
190 m_log.DebugFormat( 190 m_log.DebugFormat(
191 "[AGENT INVENTORY]: Adding folder {0} {1} to folder {2}", folder.Name, folder.ID, folder.ParentID); 191 "[AGENT INVENTORY]: Adding folder {0} {1} to folder {2}", folder.Name, folder.ID, folder.ParentID);
@@ -200,7 +200,7 @@ namespace OpenSim.Framework.Communications
200 } 200 }
201 201
202 // See IInventoryServices 202 // See IInventoryServices
203 public bool UpdateFolder(InventoryFolderBase folder) 203 public virtual bool UpdateFolder(InventoryFolderBase folder)
204 { 204 {
205 m_log.DebugFormat( 205 m_log.DebugFormat(
206 "[AGENT INVENTORY]: Updating folder {0} {1} to folder {2}", folder.Name, folder.ID, folder.ParentID); 206 "[AGENT INVENTORY]: Updating folder {0} {1} to folder {2}", folder.Name, folder.ID, folder.ParentID);
@@ -215,7 +215,7 @@ namespace OpenSim.Framework.Communications
215 } 215 }
216 216
217 // See IInventoryServices 217 // See IInventoryServices
218 public bool MoveFolder(InventoryFolderBase folder) 218 public virtual bool MoveFolder(InventoryFolderBase folder)
219 { 219 {
220 m_log.DebugFormat( 220 m_log.DebugFormat(
221 "[AGENT INVENTORY]: Moving folder {0} {1} to folder {2}", folder.Name, folder.ID, folder.ParentID); 221 "[AGENT INVENTORY]: Moving folder {0} {1} to folder {2}", folder.Name, folder.ID, folder.ParentID);
@@ -230,7 +230,7 @@ namespace OpenSim.Framework.Communications
230 } 230 }
231 231
232 // See IInventoryServices 232 // See IInventoryServices
233 public bool AddItem(InventoryItemBase item) 233 public virtual bool AddItem(InventoryItemBase item)
234 { 234 {
235 m_log.DebugFormat( 235 m_log.DebugFormat(
236 "[AGENT INVENTORY]: Adding item {0} {1} to folder {2}", item.Name, item.ID, item.Folder); 236 "[AGENT INVENTORY]: Adding item {0} {1} to folder {2}", item.Name, item.ID, item.Folder);
@@ -245,7 +245,7 @@ namespace OpenSim.Framework.Communications
245 } 245 }
246 246
247 // See IInventoryServices 247 // See IInventoryServices
248 public bool UpdateItem(InventoryItemBase item) 248 public virtual bool UpdateItem(InventoryItemBase item)
249 { 249 {
250 m_log.InfoFormat( 250 m_log.InfoFormat(
251 "[AGENT INVENTORY]: Updating item {0} {1} in folder {2}", item.Name, item.ID, item.Folder); 251 "[AGENT INVENTORY]: Updating item {0} {1} in folder {2}", item.Name, item.ID, item.Folder);
@@ -260,7 +260,7 @@ namespace OpenSim.Framework.Communications
260 } 260 }
261 261
262 // See IInventoryServices 262 // See IInventoryServices
263 public bool DeleteItem(InventoryItemBase item) 263 public virtual bool DeleteItem(InventoryItemBase item)
264 { 264 {
265 m_log.InfoFormat( 265 m_log.InfoFormat(
266 "[AGENT INVENTORY]: Deleting item {0} {1} from folder {2}", item.Name, item.ID, item.Folder); 266 "[AGENT INVENTORY]: Deleting item {0} {1} from folder {2}", item.Name, item.ID, item.Folder);
@@ -281,7 +281,7 @@ namespace OpenSim.Framework.Communications
281 /// already know... Needs heavy refactoring. 281 /// already know... Needs heavy refactoring.
282 /// </summary> 282 /// </summary>
283 /// <param name="folder"></param> 283 /// <param name="folder"></param>
284 public bool PurgeFolder(InventoryFolderBase folder) 284 public virtual bool PurgeFolder(InventoryFolderBase folder)
285 { 285 {
286 m_log.DebugFormat( 286 m_log.DebugFormat(
287 "[AGENT INVENTORY]: Purging folder {0} {1} of its contents", folder.Name, folder.ID); 287 "[AGENT INVENTORY]: Purging folder {0} {1} of its contents", folder.Name, folder.ID);