aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/IInventoryServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/IInventoryServices.cs')
-rw-r--r--OpenSim/Framework/Communications/IInventoryServices.cs16
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 @@
1using System; 1using System;
2using System.Collections.Generic;
3using System.Text; 2using System.Text;
4using OpenSim.Framework.Data; 3using System.Collections.Generic;
4
5using libsecondlife; 5using libsecondlife;
6using OpenSim.Framework.Data;
6using OpenSim.Framework.Communications.Caches; 7using OpenSim.Framework.Communications.Caches;
7using InventoryFolder = OpenSim.Framework.Communications.Caches.InventoryFolder;
8 8
9namespace OpenSim.Framework.Communications 9namespace 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}