aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientFileTransfer.cs
blob: fc9ec7948e503c17f482a82c461a64d56facbe38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;

namespace OpenSim.Framework
{
    public delegate void UploadComplete(string filename, UUID fileID, 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);
    }
}