diff options
Diffstat (limited to 'OpenSim/Framework/Communications/IInventoryServices.cs')
-rw-r--r-- | OpenSim/Framework/Communications/IInventoryServices.cs | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/OpenSim/Framework/Communications/IInventoryServices.cs b/OpenSim/Framework/Communications/IInventoryServices.cs index 80c2e64..7b2948f 100644 --- a/OpenSim/Framework/Communications/IInventoryServices.cs +++ b/OpenSim/Framework/Communications/IInventoryServices.cs | |||
@@ -1,29 +1,31 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | ||
3 | using System.Text; | 2 | using System.Text; |
4 | using OpenSim.Framework.Data; | 3 | using System.Collections.Generic; |
4 | |||
5 | using libsecondlife; | 5 | using libsecondlife; |
6 | using OpenSim.Framework.Data; | ||
6 | using OpenSim.Framework.Communications.Caches; | 7 | using OpenSim.Framework.Communications.Caches; |
7 | using InventoryFolder = OpenSim.Framework.Communications.Caches.InventoryFolder; | ||
8 | 8 | ||
9 | namespace OpenSim.Framework.Communications | 9 | namespace OpenSim.Framework.Communications |
10 | { | 10 | { |
11 | public delegate void InventoryFolderInfo(LLUUID userID, InventoryFolder folderInfo); | 11 | public delegate void InventoryFolderInfo(LLUUID userID, InventoryFolderBase folderInfo); |
12 | public delegate void InventoryItemInfo(LLUUID userID, InventoryItemBase itemInfo); | 12 | public delegate void InventoryItemInfo(LLUUID userID, InventoryItemBase itemInfo); |
13 | 13 | ||
14 | public interface IInventoryServices | 14 | public interface IInventoryServices |
15 | { | 15 | { |
16 | void RequestInventoryForUser(LLUUID userID, InventoryFolderInfo folderCallBack, InventoryItemInfo itemCallBack); | 16 | void RequestInventoryForUser(LLUUID userID, InventoryFolderInfo folderCallBack, InventoryItemInfo itemCallBack); |
17 | void AddNewInventoryFolder(LLUUID userID, InventoryFolder folder); | 17 | void AddNewInventoryFolder(LLUUID userID, InventoryFolderBase folder); |
18 | void AddNewInventoryItem(LLUUID userID, InventoryItemBase item); | 18 | void AddNewInventoryItem(LLUUID userID, InventoryItemBase item); |
19 | void DeleteInventoryItem(LLUUID userID, InventoryItemBase item); | 19 | void DeleteInventoryItem(LLUUID userID, InventoryItemBase item); |
20 | void CreateNewUserInventory(LLUUID user); | 20 | void CreateNewUserInventory(LLUUID libraryRootId, LLUUID user); |
21 | void GetRootFoldersForUser(LLUUID user, out LLUUID libraryFolder, out LLUUID personalFolder); | ||
21 | 22 | ||
22 | /// <summary> | 23 | /// <summary> |
23 | /// Returns the root folder plus any folders in root (so down one level in the Inventory folders tree) | 24 | /// Returns the root folder plus any folders in root (so down one level in the Inventory folders tree) |
24 | /// </summary> | 25 | /// </summary> |
25 | /// <param name="userID"></param> | 26 | /// <param name="userID"></param> |
26 | /// <returns></returns> | 27 | /// <returns></returns> |
27 | List<InventoryFolderBase> RequestFirstLevelFolders(LLUUID userID); | 28 | List<InventoryFolderBase> RequestFirstLevelFolders(LLUUID folderID); |
29 | List<InventoryItemBase> RequestFolderItems(LLUUID folderID); | ||
28 | } | 30 | } |
29 | } | 31 | } |