diff options
author | MW | 2008-12-12 21:17:49 +0000 |
---|---|---|
committer | MW | 2008-12-12 21:17:49 +0000 |
commit | 6e07ef9cb9637a54e8e5d60ed898a6449a812865 (patch) | |
tree | c2e06f2c99a4292535da7dd049884db899fa50dc /OpenSim/Framework | |
parent | * minor: remove mono compiler warning (diff) | |
download | opensim-SC-6e07ef9cb9637a54e8e5d60ed898a6449a812865.zip opensim-SC-6e07ef9cb9637a54e8e5d60ed898a6449a812865.tar.gz opensim-SC-6e07ef9cb9637a54e8e5d60ed898a6449a812865.tar.bz2 opensim-SC-6e07ef9cb9637a54e8e5d60ed898a6449a812865.tar.xz |
Add OpenSim.Framework.IClientFileTransfer.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/IClientFileTransfer.cs | 14 |
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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace 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 | } | ||