diff options
author | Mike Mazur | 2008-07-31 09:24:28 +0000 |
---|---|---|
committer | Mike Mazur | 2008-07-31 09:24:28 +0000 |
commit | 2270b252656146d9d74b84665a7ace6c3139db30 (patch) | |
tree | 7a967ee50349cf4301ed801e0b8c85f5060ffe1d /OpenSim/Framework/IUserData.cs | |
parent | dropping intermediate GridInfoPlugin.addin.xml, as it's no longer (diff) | |
download | opensim-SC-2270b252656146d9d74b84665a7ace6c3139db30.zip opensim-SC-2270b252656146d9d74b84665a7ace6c3139db30.tar.gz opensim-SC-2270b252656146d9d74b84665a7ace6c3139db30.tar.bz2 opensim-SC-2270b252656146d9d74b84665a7ace6c3139db30.tar.xz |
Thanks, sempuki, for a patch that moves all Grid Server's plugins to
PluginLoader. Fix issue 1871.
Diffstat (limited to 'OpenSim/Framework/IUserData.cs')
-rw-r--r-- | OpenSim/Framework/IUserData.cs | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/OpenSim/Framework/IUserData.cs b/OpenSim/Framework/IUserData.cs index 5952713..27686c0 100644 --- a/OpenSim/Framework/IUserData.cs +++ b/OpenSim/Framework/IUserData.cs | |||
@@ -33,7 +33,7 @@ namespace OpenSim.Framework | |||
33 | /// <summary> | 33 | /// <summary> |
34 | /// An interface for connecting to user storage servers. | 34 | /// An interface for connecting to user storage servers. |
35 | /// </summary> | 35 | /// </summary> |
36 | public interface IUserData | 36 | public interface IUserData : IPlugin |
37 | { | 37 | { |
38 | /// <summary> | 38 | /// <summary> |
39 | /// Returns a user profile from a database via their UUID | 39 | /// Returns a user profile from a database via their UUID |
@@ -154,18 +154,6 @@ namespace OpenSim.Framework | |||
154 | bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory); | 154 | bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory); |
155 | 155 | ||
156 | /// <summary> | 156 | /// <summary> |
157 | /// Returns the plugin version | ||
158 | /// </summary> | ||
159 | /// <returns>Plugin version in MAJOR.MINOR.REVISION.BUILD format</returns> | ||
160 | string Version {get;} | ||
161 | |||
162 | /// <summary> | ||
163 | /// Returns the plugin name | ||
164 | /// </summary> | ||
165 | /// <returns>Plugin name, eg MySQL User Provider</returns> | ||
166 | string Name {get;} | ||
167 | |||
168 | /// <summary> | ||
169 | /// Initialises the plugin (artificial constructor) | 157 | /// Initialises the plugin (artificial constructor) |
170 | /// </summary> | 158 | /// </summary> |
171 | void Initialise(string connect); | 159 | void Initialise(string connect); |
@@ -182,4 +170,15 @@ namespace OpenSim.Framework | |||
182 | void RemoveAttachment(LLUUID user, LLUUID item); | 170 | void RemoveAttachment(LLUUID user, LLUUID item); |
183 | List<LLUUID> GetAttachments(LLUUID user); | 171 | List<LLUUID> GetAttachments(LLUUID user); |
184 | } | 172 | } |
185 | } \ No newline at end of file | 173 | |
174 | public class UserDataInitialiser : PluginInitialiserBase | ||
175 | { | ||
176 | private string connect; | ||
177 | public UserDataInitialiser (string s) { connect = s; } | ||
178 | public override void Initialise (IPlugin plugin) | ||
179 | { | ||
180 | IUserData p = plugin as IUserData; | ||
181 | p.Initialise (connect); | ||
182 | } | ||
183 | } | ||
184 | } | ||