diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2008-07-15 18:56:36 +0000 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2008-10-28 12:13:22 +0000 |
commit | f839964711ba39e7a4c71215a15795c428858f2b (patch) | |
tree | e47e609252ad36639e6ae30ffdf746143c647d45 /extensions | |
parent | 1bddf174b9b4123bafcfab711007109afa37bfe0 (diff) | |
download | telepathy-salut-f839964711ba39e7a4c71215a15795c428858f2b.tar.gz |
Added Marco's file transfer code.
20080715185636-8ed0e-06775a31a2c94b716db41375af32db8248b9e8d3.gz
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Channel_Type_File_Transfer.xml | 52 |
1 files changed, 46 insertions, 6 deletions
diff --git a/extensions/Channel_Type_File_Transfer.xml b/extensions/Channel_Type_File_Transfer.xml index 3d6a8c4a..5593d117 100644 --- a/extensions/Channel_Type_File_Transfer.xml +++ b/extensions/Channel_Type_File_Transfer.xml @@ -12,7 +12,7 @@ version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. +Library General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software @@ -63,6 +63,34 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. </tp:enumvalue> </tp:enum> + <tp:enum name="FileTransfer_CloseReason"> + <tp:enumvalue suffix="Success" value="0"> + <tp:docstring> + The file transfer was completed successfully. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="LocalStopped" value="1"> + <tp:docstring> + The file transfer was closed by the local user. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="RemoteStopped" value="2"> + <tp:docstring> + The file transfer was closed by the remote user. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="LocalError" value="3"> + <tp:docstring> + The file transfer was closed because of a local error. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="RemoteError" value="4"> + <tp:docstring> + The file transfer was closed because of a remote error. + </tp:docstring> + </tp:enumvalue> + </tp:enum> + <method name="ListFileTransfers"> <arg direction="out" type="a(uuuusa{sv})"> @@ -126,6 +154,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. FileTransfer_Direction enum. </tp:docstring> </arg> + <arg name="state" type="u"> + <tp:docstring> + The new file transfer's state. + </tp:docstring> + </arg> <arg name="filename" type="s"> <tp:docstring> The filename of the file that is to be transmitted, for displaying. @@ -136,11 +169,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. The new file's additional information. </tp:docstring> </arg> - <arg name="state" type="u"> - <tp:docstring> - The new file transfer's state. - </tp:docstring> - </arg> </signal> <method name="AcceptFile"> @@ -180,6 +208,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. The ID of the file transfer to close. </tp:docstring> </arg> + <arg direction="in" name="reason" type="u"> + <tp:docstring> + The reason why the file transfer is being closed; see the + FileTransfer_CloseReason enumeration. + </tp:docstring> + </arg> </method> <signal name="FileTransferClosed"> @@ -193,6 +227,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. The ID of the file transfer that was closed. </tp:docstring> </arg> + <arg name="reason" type="u"> + <tp:docstring> + The reason why the file transfer was closed; see the + FileTransfer_CloseReason enumeration. + </tp:docstring> + </arg> </signal> <method name="GetLocalUnixSocketPath"> |