diff options
author | Diva Canto | 2009-08-10 20:31:51 -0700 |
---|---|---|
committer | Diva Canto | 2009-08-10 20:31:51 -0700 |
commit | cdcbc48534f19afe7cbdeb6c690e6b7d9f2ff099 (patch) | |
tree | 4d42dff30b4ca8d9f770209c257484c1a2295ddf /OpenSim/Services/Connectors/Inventory/ISessionAuthInventoryService.cs | |
parent | Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-cdcbc48534f19afe7cbdeb6c690e6b7d9f2ff099.zip opensim-SC-cdcbc48534f19afe7cbdeb6c690e6b7d9f2ff099.tar.gz opensim-SC-cdcbc48534f19afe7cbdeb6c690e6b7d9f2ff099.tar.bz2 opensim-SC-cdcbc48534f19afe7cbdeb6c690e6b7d9f2ff099.tar.xz |
Added two new methods to IIventoryService -- GetFolderForType and GetFolderContent. Some meat to it, but not completed. None of this code is called anywhere yet.
Diffstat (limited to 'OpenSim/Services/Connectors/Inventory/ISessionAuthInventoryService.cs')
-rw-r--r-- | OpenSim/Services/Connectors/Inventory/ISessionAuthInventoryService.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/ISessionAuthInventoryService.cs b/OpenSim/Services/Connectors/Inventory/ISessionAuthInventoryService.cs index 4fc4363..98fd680 100644 --- a/OpenSim/Services/Connectors/Inventory/ISessionAuthInventoryService.cs +++ b/OpenSim/Services/Connectors/Inventory/ISessionAuthInventoryService.cs | |||
@@ -25,6 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.Collections.Generic; | ||
28 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
29 | using OpenSim.Services.Interfaces; | 30 | using OpenSim.Services.Interfaces; |
30 | using OpenMetaverse; | 31 | using OpenMetaverse; |
@@ -51,6 +52,22 @@ namespace OpenSim.Services.Connectors | |||
51 | void GetUserInventory(string userID, UUID session_id, InventoryReceiptCallback callback); | 52 | void GetUserInventory(string userID, UUID session_id, InventoryReceiptCallback callback); |
52 | 53 | ||
53 | /// <summary> | 54 | /// <summary> |
55 | /// Gets the user folder for the given folder-type | ||
56 | /// </summary> | ||
57 | /// <param name="userID"></param> | ||
58 | /// <param name="type"></param> | ||
59 | /// <returns></returns> | ||
60 | List<InventoryFolderBase> GetSystemFolders(string userID, UUID session_id); | ||
61 | |||
62 | /// <summary> | ||
63 | /// Gets everything (folders and items) inside a folder | ||
64 | /// </summary> | ||
65 | /// <param name="userId"></param> | ||
66 | /// <param name="folderID"></param> | ||
67 | /// <returns></returns> | ||
68 | InventoryCollection GetFolderContent(string userID, UUID folderID, UUID session_id); | ||
69 | |||
70 | /// <summary> | ||
54 | /// Add a new folder to the user's inventory | 71 | /// Add a new folder to the user's inventory |
55 | /// </summary> | 72 | /// </summary> |
56 | /// <param name="folder"></param> | 73 | /// <param name="folder"></param> |