Add OpenSim.Framework.IClientFileTransfer.

0.6.1-post-fixes
MW 2008-12-12 21:17:49 +00:00
parent 96ea54409f
commit 6e07ef9cb9
2 changed files with 15 additions and 4 deletions

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenSim.Framework
{
public delegate void UploadComplete(string filename, byte[] fileData, IClientAPI remoteClient);
public delegate void UploadAborted(string filename, ulong id, IClientAPI remoteClient);
public interface IClientFileTransfer
{
bool RequestUpload(string clientFileName, UploadComplete uploadCompleteCallback, UploadAborted abortCallback);
}
}

View File

@ -13,10 +13,7 @@ using OpenSim.Region.Environment.Scenes;
namespace OpenSim.Region.ClientStack.LindenUDP
{
public delegate void UploadComplete(string filename, byte[] fileData, IClientAPI remoteClient);
public delegate void UploadAborted(string filename, ulong id, IClientAPI remoteClient);
public class LLFileTransfer
public class LLFileTransfer : IClientFileTransfer
{
protected IClientAPI m_clientAPI;