From d758753d7c47846258abb12d605eeddfa9d1ef24 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sat, 4 Apr 2009 22:57:53 +0000 Subject: * More fiddling with MRM IPersistence, now stores instead of Object. --- .../Region/OptionalModules/Scripting/Minimodule/IPersistence.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs index b6d79d4..5ca4f59 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IPersistence.cs @@ -6,8 +6,9 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule { interface IPersistence { - Object Get(Guid storageID); - Object Get(); + + T Get(Guid storageID); + T Get(); /// /// Stores 'data' into the persistence system @@ -17,13 +18,13 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule /// /// /// - void Put(Guid storageID, Object data); + void Put(Guid storageID, T data); /// /// Stores 'data' into the persistence system /// using the default ID for this script. /// /// - void Put(Object data); + void Put(T data); } } -- cgit v1.1