From fa1d79533e22266f8ee7f1aa4d93a3f7fba0e230 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Mon, 7 Sep 2009 19:57:44 +0100
Subject: Only allow iar load/save if user is logged in to the region simulator
---
.../Region/Framework/Interfaces/IInventoryArchiverModule.cs | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
(limited to 'OpenSim/Region/Framework/Interfaces')
diff --git a/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs b/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs
index 457b5b8..ca7abf8 100644
--- a/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs
@@ -56,8 +56,9 @@ namespace OpenSim.Region.Framework.Interfaces
///
///
/// The inventory path in which to place the loaded folders and items
- /// The stream from which the inventory archive will be loaded
- void DearchiveInventory(string firstName, string lastName, string invPath, Stream loadStream);
+ /// The stream from which the inventory archive will be loaded
+ /// true if the first stage of the operation succeeded, false otherwise
+ bool DearchiveInventory(string firstName, string lastName, string invPath, Stream loadStream);
///
/// Archive a user's inventory folder to the given stream
@@ -67,6 +68,7 @@ namespace OpenSim.Region.Framework.Interfaces
///
/// The inventory path from which the inventory should be saved.
/// The stream to which the inventory archive will be saved
- void ArchiveInventory(Guid id, string firstName, string lastName, string invPath, Stream saveStream);
+ /// true if the first stage of the operation succeeded, false otherwise
+ bool ArchiveInventory(Guid id, string firstName, string lastName, string invPath, Stream saveStream);
}
-}
+}
\ No newline at end of file
--
cgit v1.1