From 863195612bdef56165f2b4354bab280c371618b9 Mon Sep 17 00:00:00 2001
From: lbsa71
Date: Thu, 27 Sep 2007 14:57:43 +0000
Subject: Reverting back to 2017 since 2018 were causing Linux breakage;
reopening Tleiades patch 444 and 445.
---
OpenSim/Framework/Data/InventoryData.cs | 33 +++++++++------------------------
1 file changed, 9 insertions(+), 24 deletions(-)
(limited to 'OpenSim/Framework/Data')
diff --git a/OpenSim/Framework/Data/InventoryData.cs b/OpenSim/Framework/Data/InventoryData.cs
index dc857d8..2df26e1 100644
--- a/OpenSim/Framework/Data/InventoryData.cs
+++ b/OpenSim/Framework/Data/InventoryData.cs
@@ -25,19 +25,15 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
-using System;
-using System.Xml.Serialization;
using System.Collections.Generic;
using libsecondlife;
namespace OpenSim.Framework.Data
{
-
- public enum InventoryCategory : byte { Library, Default, User };
///
/// Inventory Item - contains all the properties associated with an individual inventory piece.
///
- public class InventoryItemBase : MarshalByRefObject
+ public class InventoryItemBase
{
///
/// A UUID containing the ID for the inventory item itself
@@ -70,12 +66,10 @@ namespace OpenSim.Framework.Data
///
/// The name of the inventory item (must be less than 64 characters)
///
- [XmlElement(ElementName="name")]
public string inventoryName;
///
/// The description of the inventory item (must be less than 64 characters)
///
- [XmlElement(ElementName = "description")]
public string inventoryDescription;
///
/// A mask containing the permissions for the next owner (cannot be enforced)
@@ -98,7 +92,7 @@ namespace OpenSim.Framework.Data
///
/// A Class for folders which contain users inventory
///
- public class InventoryFolderBase : MarshalByRefObject
+ public class InventoryFolderBase
{
///
/// The name of the folder (64 characters or less)
@@ -124,10 +118,6 @@ namespace OpenSim.Framework.Data
///
///
public ushort version;
- ///
- /// Inventory category, Library, Default, System
- ///
- public InventoryCategory category;
}
///
@@ -172,6 +162,13 @@ namespace OpenSim.Framework.Data
List getUserRootFolders(LLUUID user);
///
+ /// Returns the users inventory root folder.
+ ///
+ /// The UUID of the user who is having inventory being returned
+ /// Root inventory folder
+ InventoryFolderBase getUserRootFolder(LLUUID user);
+
+ ///
/// Returns a list of inventory folders contained in the folder 'parentID'
///
/// The folder to get subfolders for
@@ -221,17 +218,5 @@ namespace OpenSim.Framework.Data
///
/// The inventory folder
void updateInventoryFolder(InventoryFolderBase folder);
-
- ///
- /// Delete a complete inventory category
- ///
- /// What folder category shout be deleted
- void deleteInventoryCategory(InventoryCategory inventoryCategory);
-
- ///
- /// Setup the initial folderset of a user
- ///
- ///
- //void CreateNewUserInventory(LLUUID user);
}
}
--
cgit v1.1