diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/IGridData.cs | 8 | ||||
-rw-r--r-- | OpenSim/Data/ILogData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLGridData.cs | 5 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLLogData.cs | 6 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/MySQLGridData.cs | 5 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/MySQLLogData.cs | 6 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteGridData.cs | 5 |
7 files changed, 2 insertions, 35 deletions
diff --git a/OpenSim/Data/IGridData.cs b/OpenSim/Data/IGridData.cs index fa24d82..146288f 100644 --- a/OpenSim/Data/IGridData.cs +++ b/OpenSim/Data/IGridData.cs | |||
@@ -26,11 +26,8 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using libsecondlife; | 28 | using libsecondlife; |
29 | using Mono.Addins; | ||
30 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
31 | 30 | ||
32 | [assembly : AddinRoot("OpenSim.Data", "0.5")] | ||
33 | |||
34 | namespace OpenSim.Data | 31 | namespace OpenSim.Data |
35 | { | 32 | { |
36 | public enum DataResponse | 33 | public enum DataResponse |
@@ -44,7 +41,6 @@ namespace OpenSim.Data | |||
44 | /// <summary> | 41 | /// <summary> |
45 | /// A standard grid interface | 42 | /// A standard grid interface |
46 | /// </summary> | 43 | /// </summary> |
47 | [TypeExtensionPoint("/OpenSim/GridDataStore")] | ||
48 | public interface IGridDataPlugin : IPlugin | 44 | public interface IGridDataPlugin : IPlugin |
49 | { | 45 | { |
50 | /// <summary> | 46 | /// <summary> |
@@ -105,10 +101,10 @@ namespace OpenSim.Data | |||
105 | ReservationData GetReservationAtPoint(uint x, uint y); | 101 | ReservationData GetReservationAtPoint(uint x, uint y); |
106 | } | 102 | } |
107 | 103 | ||
108 | public class GridDataStoreInitialiser : PluginInitialiserBase | 104 | public class GridDataInitialiser : PluginInitialiserBase |
109 | { | 105 | { |
110 | private string connect; | 106 | private string connect; |
111 | public GridDataStoreInitialiser (string s) { connect = s; } | 107 | public GridDataInitialiser (string s) { connect = s; } |
112 | public override void Initialise (IPlugin plugin) | 108 | public override void Initialise (IPlugin plugin) |
113 | { | 109 | { |
114 | IGridDataPlugin p = plugin as IGridDataPlugin; | 110 | IGridDataPlugin p = plugin as IGridDataPlugin; |
diff --git a/OpenSim/Data/ILogData.cs b/OpenSim/Data/ILogData.cs index 34657dc..cfbee88 100644 --- a/OpenSim/Data/ILogData.cs +++ b/OpenSim/Data/ILogData.cs | |||
@@ -25,7 +25,6 @@ | |||
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 | ||
28 | using Mono.Addins; | ||
29 | using OpenSim.Framework; | 28 | using OpenSim.Framework; |
30 | 29 | ||
31 | namespace OpenSim.Data | 30 | namespace OpenSim.Data |
@@ -64,7 +63,6 @@ namespace OpenSim.Data | |||
64 | /// <summary> | 63 | /// <summary> |
65 | /// An interface to a LogData storage system | 64 | /// An interface to a LogData storage system |
66 | /// </summary> | 65 | /// </summary> |
67 | [TypeExtensionPoint("/OpenSim/GridLogData")] | ||
68 | public interface ILogDataPlugin : IPlugin | 66 | public interface ILogDataPlugin : IPlugin |
69 | { | 67 | { |
70 | void saveLog(string serverDaemon, string target, string methodCall, string arguments, int priority, | 68 | void saveLog(string serverDaemon, string target, string methodCall, string arguments, int priority, |
diff --git a/OpenSim/Data/MSSQL/MSSQLGridData.cs b/OpenSim/Data/MSSQL/MSSQLGridData.cs index 7de77d1..e1de297 100644 --- a/OpenSim/Data/MSSQL/MSSQLGridData.cs +++ b/OpenSim/Data/MSSQL/MSSQLGridData.cs | |||
@@ -33,18 +33,13 @@ using System.Security.Cryptography; | |||
33 | using System.Text; | 33 | using System.Text; |
34 | using libsecondlife; | 34 | using libsecondlife; |
35 | using log4net; | 35 | using log4net; |
36 | using Mono.Addins; | ||
37 | using OpenSim.Framework; | 36 | using OpenSim.Framework; |
38 | 37 | ||
39 | [assembly : Addin] | ||
40 | [assembly : AddinDependency("OpenSim.Data", "0.5")] | ||
41 | |||
42 | namespace OpenSim.Data.MSSQL | 38 | namespace OpenSim.Data.MSSQL |
43 | { | 39 | { |
44 | /// <summary> | 40 | /// <summary> |
45 | /// A grid data interface for MSSQL Server | 41 | /// A grid data interface for MSSQL Server |
46 | /// </summary> | 42 | /// </summary> |
47 | [Extension("/OpenSim/GridDataStore")] | ||
48 | public class MSSQLGridData : GridDataBase | 43 | public class MSSQLGridData : GridDataBase |
49 | { | 44 | { |
50 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 45 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
diff --git a/OpenSim/Data/MSSQL/MSSQLLogData.cs b/OpenSim/Data/MSSQL/MSSQLLogData.cs index d0d81b6..d260e8c 100644 --- a/OpenSim/Data/MSSQL/MSSQLLogData.cs +++ b/OpenSim/Data/MSSQL/MSSQLLogData.cs | |||
@@ -30,19 +30,13 @@ using System.Reflection; | |||
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Data; | 31 | using System.Data; |
32 | using log4net; | 32 | using log4net; |
33 | using Mono.Addins; | ||
34 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
35 | 34 | ||
36 | // Only one attribute per assembly. See: *GridData.cs | ||
37 | // [assembly : Addin] | ||
38 | // [assembly : AddinDependency("OpenSim.Data", "0.5")] | ||
39 | |||
40 | namespace OpenSim.Data.MSSQL | 35 | namespace OpenSim.Data.MSSQL |
41 | { | 36 | { |
42 | /// <summary> | 37 | /// <summary> |
43 | /// An interface to the log database for MSSQL | 38 | /// An interface to the log database for MSSQL |
44 | /// </summary> | 39 | /// </summary> |
45 | [Extension("/OpenSim/GridLogData")] | ||
46 | internal class MSSQLLogData : ILogDataPlugin | 40 | internal class MSSQLLogData : ILogDataPlugin |
47 | { | 41 | { |
48 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 42 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
diff --git a/OpenSim/Data/MySQL/MySQLGridData.cs b/OpenSim/Data/MySQL/MySQLGridData.cs index 8142c74..fee457a 100644 --- a/OpenSim/Data/MySQL/MySQLGridData.cs +++ b/OpenSim/Data/MySQL/MySQLGridData.cs | |||
@@ -33,18 +33,13 @@ using System.Security.Cryptography; | |||
33 | using System.Text; | 33 | using System.Text; |
34 | using libsecondlife; | 34 | using libsecondlife; |
35 | using log4net; | 35 | using log4net; |
36 | using Mono.Addins; | ||
37 | using OpenSim.Framework; | 36 | using OpenSim.Framework; |
38 | 37 | ||
39 | [assembly : Addin] | ||
40 | [assembly : AddinDependency("OpenSim.Data", "0.5")] | ||
41 | |||
42 | namespace OpenSim.Data.MySQL | 38 | namespace OpenSim.Data.MySQL |
43 | { | 39 | { |
44 | /// <summary> | 40 | /// <summary> |
45 | /// A MySQL Interface for the Grid Server | 41 | /// A MySQL Interface for the Grid Server |
46 | /// </summary> | 42 | /// </summary> |
47 | [Extension("/OpenSim/GridDataStore")] | ||
48 | public class MySQLGridData : GridDataBase | 43 | public class MySQLGridData : GridDataBase |
49 | { | 44 | { |
50 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 45 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
diff --git a/OpenSim/Data/MySQL/MySQLLogData.cs b/OpenSim/Data/MySQL/MySQLLogData.cs index f11aec5..456cfd2 100644 --- a/OpenSim/Data/MySQL/MySQLLogData.cs +++ b/OpenSim/Data/MySQL/MySQLLogData.cs | |||
@@ -28,19 +28,13 @@ using System; | |||
28 | using System.Reflection; | 28 | using System.Reflection; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using log4net; | 30 | using log4net; |
31 | using Mono.Addins; | ||
32 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
33 | 32 | ||
34 | // Only one attribute per assembly. See: *GridData.cs | ||
35 | // [assembly : Addin] | ||
36 | // [assembly : AddinDependency("OpenSim.Data", "0.5")] | ||
37 | |||
38 | namespace OpenSim.Data.MySQL | 33 | namespace OpenSim.Data.MySQL |
39 | { | 34 | { |
40 | /// <summary> | 35 | /// <summary> |
41 | /// An interface to the log database for MySQL | 36 | /// An interface to the log database for MySQL |
42 | /// </summary> | 37 | /// </summary> |
43 | [Extension("/OpenSim/GridLogData")] | ||
44 | internal class MySQLLogData : ILogDataPlugin | 38 | internal class MySQLLogData : ILogDataPlugin |
45 | { | 39 | { |
46 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 40 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
diff --git a/OpenSim/Data/SQLite/SQLiteGridData.cs b/OpenSim/Data/SQLite/SQLiteGridData.cs index 1e07458..8c4574e 100644 --- a/OpenSim/Data/SQLite/SQLiteGridData.cs +++ b/OpenSim/Data/SQLite/SQLiteGridData.cs | |||
@@ -33,18 +33,13 @@ using System.Security.Cryptography; | |||
33 | using System.Text; | 33 | using System.Text; |
34 | using libsecondlife; | 34 | using libsecondlife; |
35 | using log4net; | 35 | using log4net; |
36 | using Mono.Addins; | ||
37 | using OpenSim.Framework; | 36 | using OpenSim.Framework; |
38 | 37 | ||
39 | [assembly : Addin] | ||
40 | [assembly : AddinDependency("OpenSim.Data", "0.5")] | ||
41 | |||
42 | namespace OpenSim.Data.SQLite | 38 | namespace OpenSim.Data.SQLite |
43 | { | 39 | { |
44 | /// <summary> | 40 | /// <summary> |
45 | /// A Grid Interface to the SQLite database | 41 | /// A Grid Interface to the SQLite database |
46 | /// </summary> | 42 | /// </summary> |
47 | [Extension("/OpenSim/GridDataStore")] | ||
48 | public class SQLiteGridData : GridDataBase | 43 | public class SQLiteGridData : GridDataBase |
49 | { | 44 | { |
50 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 45 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |