diff --git a/OpenGridServices/OpenGrid.Framework.Data/InventoryData.cs b/OpenGridServices/OpenGrid.Framework.Data/InventoryData.cs
index 628868f4dc..1d70c7345e 100644
--- a/OpenGridServices/OpenGrid.Framework.Data/InventoryData.cs
+++ b/OpenGridServices/OpenGrid.Framework.Data/InventoryData.cs
@@ -1,9 +1,31 @@
using System;
using System.Collections.Generic;
using System.Text;
+using libsecondlife;
namespace OpenGrid.Framework.Data
{
+ public class InventoryItemBase
+ {
+ LLUUID inventoryID;
+ LLUUID assetID;
+ int type;
+ LLUUID parentFolderID;
+ LLUUID avatarID;
+ string inventoryName;
+ string inventoryDescription;
+ uint inventoryNextPermissions;
+ uint inventoryCurrentPermissions;
+ }
+
+ public class InventoryFolderBase
+ {
+ string name;
+ LLUUID agentID;
+ LLUUID parentID;
+ LLUUID folderID;
+ }
+
public interface IInventoryData
{
///
@@ -27,5 +49,40 @@ namespace OpenGrid.Framework.Data
///
/// A string containing the plugin version
string getVersion();
+
+ ///
+ /// Returns a list of inventory items contained within the specified folder
+ ///
+ /// The UUID of the target folder
+ /// A List of InventoryItemBase items
+ List getInventoryInFolder(LLUUID folderID);
+
+ ///
+ /// Returns a list of folders in the users inventory root.
+ ///
+ /// The UUID of the user who is having inventory being returned
+ /// A list of folders
+ List getUserRootFolders(LLUUID user);
+
+ ///
+ /// Returns a list of inventory folders contained in the folder 'parentID'
+ ///
+ /// The folder to get subfolders for
+ /// A list of inventory folders
+ List getInventoryFolders(LLUUID parentID);
+
+ ///
+ /// Returns an inventory item by its UUID
+ ///
+ /// The UUID of the item to be returned
+ /// A class containing item information
+ InventoryItemBase getInventoryItem(LLUUID item);
+
+ ///
+ /// Returns a specified inventory folder by its UUID
+ ///
+ /// The UUID of the folder to be returned
+ /// A class containing folder information
+ InventoryFolderBase getInventoryFolder(LLUUID folder);
}
}