aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IInventoryData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/IInventoryData.cs32
1 files changed, 13 insertions, 19 deletions
diff --git a/OpenSim/Framework/IInventoryData.cs b/OpenSim/Framework/IInventoryData.cs
index fabcbe2..0d4c555 100644
--- a/OpenSim/Framework/IInventoryData.cs
+++ b/OpenSim/Framework/IInventoryData.cs
@@ -33,7 +33,7 @@ namespace OpenSim.Framework
33 /// <summary> 33 /// <summary>
34 /// An interface for accessing inventory data from a storage server 34 /// An interface for accessing inventory data from a storage server
35 /// </summary> 35 /// </summary>
36 public interface IInventoryData 36 public interface IInventoryDataPlugin : IPlugin
37 { 37 {
38 /// <summary> 38 /// <summary>
39 /// Initialises the interface 39 /// Initialises the interface
@@ -41,23 +41,6 @@ namespace OpenSim.Framework
41 void Initialise(string connect); 41 void Initialise(string connect);
42 42
43 /// <summary> 43 /// <summary>
44 /// Closes the interface
45 /// </summary>
46 void Close();
47
48 /// <summary>
49 /// The plugin being loaded
50 /// </summary>
51 /// <returns>A string containing the plugin name</returns>
52 string getName();
53
54 /// <summary>
55 /// The plugins version
56 /// </summary>
57 /// <returns>A string containing the plugin version</returns>
58 string getVersion();
59
60 /// <summary>
61 /// Returns all child folders in the hierarchy from the parent folder and down. 44 /// Returns all child folders in the hierarchy from the parent folder and down.
62 /// Does not return the parent folder itself. 45 /// Does not return the parent folder itself.
63 /// </summary> 46 /// </summary>
@@ -149,4 +132,15 @@ namespace OpenSim.Framework
149 /// <param name="folder">The id of the folder</param> 132 /// <param name="folder">The id of the folder</param>
150 void deleteInventoryFolder(LLUUID folder); 133 void deleteInventoryFolder(LLUUID folder);
151 } 134 }
152} \ No newline at end of file 135
136 public class InventoryDataInitialiser : PluginInitialiserBase
137 {
138 private string connect;
139 public InventoryDataInitialiser (string s) { connect = s; }
140 public override void Initialise (IPlugin plugin)
141 {
142 IInventoryDataPlugin p = plugin as IInventoryDataPlugin;
143 p.Initialise (connect);
144 }
145 }
146}