aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientFileTransfer.cs
blob: ec8e6232fc0842447e059441b386ec96226df5ed (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);
    }
}