From 698ecec6f7e8c3f820066fdba1fe5e0f60cbd739 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 26 Sep 2008 18:37:53 +0000 Subject: Remove another interface that is no longer needed --- .../ScriptEngine/DotNetEngine/AppDomainManager.cs | 2 +- .../ScriptEngine/DotNetEngine/EventManager.cs | 2 +- .../ScriptEngine/DotNetEngine/EventQueueManager.cs | 2 +- .../DotNetEngine/EventQueueThreadClass.cs | 2 +- .../ScriptEngine/DotNetEngine/MaintenanceThread.cs | 2 +- .../DotNetEngine/iScriptEngineFunctionModule.cs | 35 ---------------------- 6 files changed, 5 insertions(+), 40 deletions(-) delete mode 100644 OpenSim/Region/ScriptEngine/DotNetEngine/iScriptEngineFunctionModule.cs (limited to 'OpenSim') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs index da461e3..9cdd006 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs @@ -34,7 +34,7 @@ using OpenSim.Region.ScriptEngine.Shared.ScriptBase; namespace OpenSim.Region.ScriptEngine.DotNetEngine { - public class AppDomainManager : iScriptEngineFunctionModule + public class AppDomainManager { // // This class does AppDomain handling and loading/unloading of diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs index fa4970f..3934340 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs @@ -43,7 +43,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine /// Prepares events so they can be directly executed upon a script by EventQueueManager, then queues it. /// [Serializable] - public class EventManager : iScriptEngineFunctionModule + public class EventManager { // // Class is instanced in "ScriptEngine" and Uses "EventQueueManager" diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs index 7805d67..634a12b 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs @@ -38,7 +38,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine /// Events are queued and executed in separate thread /// [Serializable] - public class EventQueueManager : iScriptEngineFunctionModule + public class EventQueueManager { // // Class is instanced in "ScriptEngine" and used by "EventManager" which is also instanced in "ScriptEngine". diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs index a9de503..2d60ed5 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueThreadClass.cs @@ -43,7 +43,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine // Because every thread needs some data set for it // (time started to execute current function), it will do its work // within a class - public class EventQueueThreadClass : iScriptEngineFunctionModule + public class EventQueueThreadClass { // How many ms to sleep if queue is empty private static int nothingToDoSleepms;// = 50; diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs index 6c1528f..c0a3c4d 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/MaintenanceThread.cs @@ -37,7 +37,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine /// /// This class does maintenance on script engine. /// - public class MaintenanceThread : iScriptEngineFunctionModule + public class MaintenanceThread { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/iScriptEngineFunctionModule.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/iScriptEngineFunctionModule.cs deleted file mode 100644 index 67fb7a7..0000000 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/iScriptEngineFunctionModule.cs +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSim Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -namespace OpenSim.Region.ScriptEngine.DotNetEngine -{ - public interface iScriptEngineFunctionModule - { - void ReadConfig(); -// bool PleaseShutdown { get; set; } - } -} -- cgit v1.1