[Telepathy-commits] [telepathy-spec/master] Added EstimatedSize property.

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


20080702193348-8ed0e-4b7b2cefeb8658815d9dff16143d2edaa061d986.gz
---
 spec/Channel_Type_File.xml |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/spec/Channel_Type_File.xml b/spec/Channel_Type_File.xml
index b602620..5207782 100644
--- a/spec/Channel_Type_File.xml
+++ b/spec/Channel_Type_File.xml
@@ -52,9 +52,21 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
     <property name="Size" type="t" access="read">
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
-        <p>The size of the file. If this is set to 0 then the size of the file
-        is unspecified. This cannot change once the channel has been
-        created.</p>
+        <p>The size of the file. If this property is set, then the file
+        transfer is guaranteed to be this size. This cannot change once
+        the channel has been created.</p>
+
+        <p>If this property is zero, then its value is unspecified.</p>
+      </tp:docstring>
+    </property>
+
+    <property name="EstimatedSize" type="t" access="read">
+      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+        <p>An estimate of the size of the file. This property should be used
+        when the protocol doesn't allow exact file sizes (For example, accurate
+        to the nearest megabyte). This property should not be set if the Size
+        property can, or has, been set. This cannot change once the channel
+        has been created.</p>
 
         <p>If this property is zero, then its value is unspecified.</p>
       </tp:docstring>
-- 
1.5.6.5




More information about the Telepathy-commits mailing list