aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs22
1 files changed, 20 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs b/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs
index 0e1e851..652dbf8 100644
--- a/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs
@@ -25,13 +25,31 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System;
28using System.IO; 29using System.IO;
30using OpenSim.Framework.Communications.Cache;
29 31
30namespace OpenSim.Region.Framework.Interfaces 32namespace OpenSim.Region.Framework.Interfaces
31{ 33{
32 public interface IInventoryArchiverModule 34 /// <summary>
35 /// Used for the OnInventoryArchiveSaved event.
36 /// </summary>
37 /// <param name="succeeded">true if the save succeeded, false otherwise</param>
38 /// <param name="userInfo">The user for whom the save was conducted</param>
39 /// <param name="invPath">The inventory path saved</param>
40 /// <param name="savePath">The stream to which the archive was saved</param>
41 /// <param name="reportedException">Contains the exception generated if the save did not succeed</param>
42 public delegate void InventoryArchiveSaved(
43 bool succeeded, CachedUserInfo userInfo, string invPath, Stream saveStream, Exception reportedException);
44
45 public interface IInventoryArchiverModule
33 { 46 {
34 /// <summary> 47 /// <summary>
48 /// Fired when an archive inventory save has been completed.
49 /// </summary>
50 event InventoryArchiveSaved OnInventoryArchiveSaved;
51
52 /// <summary>
35 /// Dearchive a user's inventory folder from the given stream 53 /// Dearchive a user's inventory folder from the given stream
36 /// </summary> 54 /// </summary>
37 /// <param name="firstName"></param> 55 /// <param name="firstName"></param>