15 lines
482 B
C#
15 lines
482 B
C#
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);
|
|
}
|
|
}
|