[Telepathy-commits] [telepathy-spec/master] Changed GetTransferredBytes method into TransferredBytes property.

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Nov 14 02:45:06 PST 2008


20080702191906-8ed0e-7409f54494fe6f2d000e572fa0c13c8025a45013.gz
---
 spec/Channel_Type_File.xml |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/spec/Channel_Type_File.xml b/spec/Channel_Type_File.xml
index a5fba2f..1f53d63 100644
--- a/spec/Channel_Type_File.xml
+++ b/spec/Channel_Type_File.xml
@@ -92,6 +92,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
       </tp:docstring>
     </property>
 
+    <property name="TransferredBytes" type="t" access="read">
+      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+        <p>The number of bytes that have been transferred at the time of
+        requesting the property. This will be updated as the file transfer
+        continues.</p>
+      </tp:docstring>
+    </property>
+
     <tp:enum name="File_Transfer_State">
       <tp:enumvalue suffix="Local_Pending" value="0">
         <tp:docstring>
@@ -205,17 +213,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
       </arg>
     </signal>
 
-    <method name="GetTransferredBytes">
-      <tp:docstring>
-        Retrieves the number of already transferred bytes.
-      </tp:docstring>
-      <arg direction="out" name="transferred_bytes" type="t">
-        <tp:docstring>
-          The number of transferred bytes.
-        </tp:docstring>
-      </arg>
-    </method>
-
     <signal name="TransferredBytesChanged">
       <tp:docstring>
         Emitted when the number of transferred bytes changes.
-- 
1.5.6.5




More information about the Telepathy-commits mailing list