fix line endings on new files

0.6.5-rc1
Sean Dague 2009-04-22 12:22:05 +00:00
parent 99a1f47c1e
commit 026dce23ad
2 changed files with 1107 additions and 1107 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,69 +1,69 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
using Nini.Config; using Nini.Config;
using OpenMetaverse; using OpenMetaverse;
using OpenSim.Client.VWoHTTP.ClientStack; using OpenSim.Client.VWoHTTP.ClientStack;
using OpenSim.Framework.Servers; using OpenSim.Framework.Servers;
using OpenSim.Framework.Servers.Interfaces; using OpenSim.Framework.Servers.Interfaces;
using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Framework.Interfaces;
using OpenSim.Region.Framework.Scenes; using OpenSim.Region.Framework.Scenes;
namespace OpenSim.Client.VWoHTTP namespace OpenSim.Client.VWoHTTP
{ {
class VWoHTTPModule : IRegionModule, IHttpAgentHandler class VWoHTTPModule : IRegionModule, IHttpAgentHandler
{ {
private IHttpServer m_httpd; private IHttpServer m_httpd;
private readonly List<Scene> m_scenes = new List<Scene>(); private readonly List<Scene> m_scenes = new List<Scene>();
private Dictionary<UUID, VWHClientView> m_clients = new Dictionary<UUID, VWHClientView>(); private Dictionary<UUID, VWHClientView> m_clients = new Dictionary<UUID, VWHClientView>();
#region Implementation of IRegionModule #region Implementation of IRegionModule
public void Initialise(Scene scene, IConfigSource source) public void Initialise(Scene scene, IConfigSource source)
{ {
m_scenes.Add(scene); m_scenes.Add(scene);
m_httpd = scene.CommsManager.HttpServer; m_httpd = scene.CommsManager.HttpServer;
} }
public void PostInitialise() public void PostInitialise()
{ {
m_httpd.AddAgentHandler("vwohttp", this); m_httpd.AddAgentHandler("vwohttp", this);
} }
public void Close() public void Close()
{ {
m_httpd.RemoveAgentHandler("vwohttp", this); m_httpd.RemoveAgentHandler("vwohttp", this);
} }
public string Name public string Name
{ {
get { return "VWoHTTP ClientStack"; } get { return "VWoHTTP ClientStack"; }
} }
public bool IsSharedModule public bool IsSharedModule
{ {
get { return true; } get { return true; }
} }
#endregion #endregion
#region Implementation of IHttpAgentHandler #region Implementation of IHttpAgentHandler
public bool Handle(OSHttpRequest req, OSHttpResponse resp) public bool Handle(OSHttpRequest req, OSHttpResponse resp)
{ {
return false; return false;
} }
public bool Match(OSHttpRequest req, OSHttpResponse resp) public bool Match(OSHttpRequest req, OSHttpResponse resp)
{ {
return req.Url.ToString().Contains("vwohttp"); return req.Url.ToString().Contains("vwohttp");
} }
#endregion #endregion
} }
} }