[Telepathy-commits] [telepathy-salut/master] Added temporary Direction property.

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Nov 21 03:46:01 PST 2008


20080717134826-8ed0e-1d94261e3f87a79903997bf36d4788e15d815c5d.gz
---
 extensions/Channel_Type_File.xml |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/extensions/Channel_Type_File.xml b/extensions/Channel_Type_File.xml
index d698ab0..764d0a3 100644
--- a/extensions/Channel_Type_File.xml
+++ b/extensions/Channel_Type_File.xml
@@ -31,6 +31,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
       HANDLE_TYPE_CONTACT.</p>
     </tp:docstring>
 
+    <property name="Direction" type="u" tp:type="File_Transfer_Direction"
+      access="read">
+      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+        <p>The direction of the file transfer.</p>
+
+        <p>This property should become useless with the new request API.</p>
+      </tp:docstring>
+    </property>
+
     <property name="State" type="u" tp:type="File_Transfer_State"
       access="readwrite">
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
@@ -132,6 +141,19 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
       </tp:docstring>
     </property>
 
+    <tp:enum name="File_Transfer_Direction">
+      <tp:enumvalue suffix="Incoming" value="0">
+        <tp:docstring>
+          The file transfer is incoming.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="Outgoing" value="1">
+        <tp:docstring>
+          The file transfer is outgoing.
+        </tp:docstring>
+      </tp:enumvalue>
+    </tp:enum>
+
     <tp:enum name="File_Transfer_State">
       <tp:enumvalue suffix="Local_Pending" value="0">
         <tp:docstring>
-- 
1.5.6.5




More information about the Telepathy-commits mailing list