[Telepathy-commits] [telepathy-spec/master] Added ContentType D-Bus property.

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


20080630153216-8ed0e-bcb4cb1ab0f05221e54c5485d0053ce18ea88d25.gz
---
 spec/Channel_Type_File.xml |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/spec/Channel_Type_File.xml b/spec/Channel_Type_File.xml
index b262d65..4629493 100644
--- a/spec/Channel_Type_File.xml
+++ b/spec/Channel_Type_File.xml
@@ -30,6 +30,20 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
       HANDLE_TYPE_CONTACT.
     </tp:docstring>
 
+    <property name="ContentType" type="s" tp:type="DBus_Interface"
+      access="read">
+      <tp:added version="0.17.x"/>
+      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+        <p>The file's content-type. This cannot change once the channel has
+        been created.</p>
+
+        <tp:rationale>
+          The GetAll method lets clients retrieve all properties in one
+          round-trip, which is desirable.
+        </tp:rationale>
+      </tp:docstring>
+    </property>
+
     <tp:simple-type name="File_Transfer_ID" type="u">
       <tp:docstring>An identifier for a file transfer. These are local
         to a FileTransfer channel, and may not be assumed to be the
-- 
1.5.6.5




More information about the Telepathy-commits mailing list