From 412112acbafa6e1f111b12007fd3a81728d0b2f5 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 23 Mar 2009 00:11:34 +0000 Subject: Committing partial work on passing folders across instances. This may crash. --- OpenSim/Data/IInventoryData.cs | 6 ++++++ OpenSim/Data/MSSQL/MSSQLInventoryData.cs | 5 +++++ OpenSim/Data/MySQL/MySQLInventoryData.cs | 5 +++++ OpenSim/Data/NHibernate/NHibernateInventoryData.cs | 5 +++++ OpenSim/Data/SQLite/SQLiteInventoryStore.cs | 5 +++++ 5 files changed, 26 insertions(+) (limited to 'OpenSim/Data') diff --git a/OpenSim/Data/IInventoryData.cs b/OpenSim/Data/IInventoryData.cs index 84a857c..5724d91 100644 --- a/OpenSim/Data/IInventoryData.cs +++ b/OpenSim/Data/IInventoryData.cs @@ -115,6 +115,12 @@ namespace OpenSim.Data InventoryItemBase queryInventoryItem(UUID item); /// + /// + /// + /// + InventoryFolderBase queryInventoryFolder(UUID folder); + + /// /// Adds a new folder specified by folder /// /// The inventory folder diff --git a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs index 3d25ed0..1349f29 100644 --- a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs +++ b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs @@ -535,6 +535,11 @@ namespace OpenSim.Data.MSSQL return null; } + public InventoryFolderBase queryInventoryFolder(UUID folderID) + { + return null; + } + /// /// Returns all activated gesture-items in the inventory of the specified avatar. /// diff --git a/OpenSim/Data/MySQL/MySQLInventoryData.cs b/OpenSim/Data/MySQL/MySQLInventoryData.cs index 2f26cdf..a5312b5 100644 --- a/OpenSim/Data/MySQL/MySQLInventoryData.cs +++ b/OpenSim/Data/MySQL/MySQLInventoryData.cs @@ -553,6 +553,11 @@ namespace OpenSim.Data.MySQL return getInventoryItem(itemID); } + public InventoryFolderBase queryInventoryFolder(UUID folderID) + { + return getInventoryFolder(folderID); + } + /// /// Creates a new inventory folder /// diff --git a/OpenSim/Data/NHibernate/NHibernateInventoryData.cs b/OpenSim/Data/NHibernate/NHibernateInventoryData.cs index 74f6eae..fd32f97 100644 --- a/OpenSim/Data/NHibernate/NHibernateInventoryData.cs +++ b/OpenSim/Data/NHibernate/NHibernateInventoryData.cs @@ -182,6 +182,11 @@ namespace OpenSim.Data.NHibernate return null; } + public InventoryFolderBase queryInventoryFolder(UUID folderID) + { + return null; + } + /// /// Returns an inventory folder by its UUID /// diff --git a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs index 34a6364..bd18c11 100644 --- a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs +++ b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs @@ -631,6 +631,11 @@ namespace OpenSim.Data.SQLite return null; } + public InventoryFolderBase queryInventoryFolder(UUID folderID) + { + return null; + } + /// /// Delete all items in the specified folder /// -- cgit v1.1