aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientFileTransfer.cs
blob: 8cdf79552163e18e52e1675b648d09679c97c9f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
    }
}