From f388a4725477b2e3238ccf19ea18dd05a98cdca0 Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 31 Aug 2007 12:19:36 +0000 Subject: Added a Debug method to the Console/log class that has the Conditional attribute (set to "DEBUG"), so we can use that for writing extra debug info to the console. [for anyone who doesn't know about the Conditional attribute, it is a attribute that can be set on a method, and then any call to that method will on be compiled if the terms of that condition are met, ie is this case only if "DEBUG" is true. So its a cleaner implementation of the #if #endif directives]. A few other minor changes. --- OpenSim/Region/Environment/Modules/GroupsModule.cs | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 OpenSim/Region/Environment/Modules/GroupsModule.cs (limited to 'OpenSim/Region/Environment/Modules/GroupsModule.cs') diff --git a/OpenSim/Region/Environment/Modules/GroupsModule.cs b/OpenSim/Region/Environment/Modules/GroupsModule.cs new file mode 100644 index 0000000..607b395 --- /dev/null +++ b/OpenSim/Region/Environment/Modules/GroupsModule.cs @@ -0,0 +1,35 @@ +using System; +using System.Collections.Generic; +using System.Text; +using libsecondlife; +using OpenSim.Framework.Interfaces; +using OpenSim.Region.Environment.Scenes; +using OpenSim.Region.Environment.Interfaces; + +namespace OpenSim.Region.Environment.Modules +{ + public class GroupsModule : IRegionModule + { + private Scene m_scene; + + public void Initialise(Scene scene) + { + m_scene = scene; + } + + public void PostInitialise() + { + + } + + public void CloseDown() + { + } + + public string GetName() + { + return "GroupsModule"; + } + } +} + -- cgit v1.1