From 08675d44a754156ecdfd09d01ae1209bf73e2533 Mon Sep 17 00:00:00 2001 From: AliciaRaven Date: Sat, 6 Sep 2014 05:19:12 +0100 Subject: Change existing IAR save to use UUID for its callback reference instead of Guid. This is for uniformity as discussed on IRC. --- OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Framework/Interfaces') diff --git a/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs b/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs index ddf7565..54251a4 100644 --- a/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs @@ -29,6 +29,7 @@ using System; using System.Collections.Generic; using System.IO; using OpenSim.Services.Interfaces; +using OpenMetaverse; namespace OpenSim.Region.Framework.Interfaces { @@ -42,7 +43,7 @@ namespace OpenSim.Region.Framework.Interfaces /// The stream to which the archive was saved /// Contains the exception generated if the save did not succeed public delegate void InventoryArchiveSaved( - Guid id, bool succeeded, UserAccount userInfo, string invPath, Stream saveStream, Exception reportedException); + UUID id, bool succeeded, UserAccount userInfo, string invPath, Stream saveStream, Exception reportedException); public interface IInventoryArchiverModule { @@ -84,7 +85,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 /// true if the first stage of the operation succeeded, false otherwise - bool ArchiveInventory(Guid id, string firstName, string lastName, string invPath, string pass, Stream saveStream); + bool ArchiveInventory(UUID id, string firstName, string lastName, string invPath, string pass, Stream saveStream); /// /// Archive a user's inventory folder to the given stream @@ -97,7 +98,7 @@ namespace OpenSim.Region.Framework.Interfaces /// Archiving options. Currently, there are none. /// true if the first stage of the operation succeeded, false otherwise bool ArchiveInventory( - Guid id, string firstName, string lastName, string invPath, string pass, Stream saveStream, + UUID id, string firstName, string lastName, string invPath, string pass, Stream saveStream, Dictionary options); } } -- cgit v1.1