aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientFileTransfer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/IClientFileTransfer.cs')
-rw-r--r--OpenSim/Framework/IClientFileTransfer.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Framework/IClientFileTransfer.cs b/OpenSim/Framework/IClientFileTransfer.cs
new file mode 100644
index 0000000..8cdf795
--- /dev/null
+++ b/OpenSim/Framework/IClientFileTransfer.cs
@@ -0,0 +1,14 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace OpenSim.Framework
6{
7 public delegate void UploadComplete(string filename, byte[] fileData, IClientAPI remoteClient);
8 public delegate void UploadAborted(string filename, ulong id, IClientAPI remoteClient);
9
10 public interface IClientFileTransfer
11 {
12 bool RequestUpload(string clientFileName, UploadComplete uploadCompleteCallback, UploadAborted abortCallback);
13 }
14}