telepathy-glib: Add and test functions to check for particular file transfer properties

Simon McVittie smcv at kemper.freedesktop.org
Mon Apr 30 11:57:29 PDT 2012


Module: telepathy-glib
Branch: master
Commit: 521799547ad4daf15d006a9ede630bcc7ff98f86
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=521799547ad4daf15d006a9ede630bcc7ff98f86

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed Apr 25 15:57:13 2012 +0100

Add and test functions to check for particular file transfer properties

These functions make the simplifying assumption that all of these
properties are orthogonal, so if both (say) InitialOffset and Description
are supported, then they'll be supported in the same requestable
channel class.

This is about the best you can do without exposing the
requestable channel classes themselves as API and having applications
iterate through them, which seems lower-level than we want.

Signed-off-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
Reviewed-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48780

---

 docs/reference/telepathy-glib-sections.txt |    4 +
 telepathy-glib/capabilities.c              |  166 +++++++++++++++++++++++++++-
 telepathy-glib/capabilities.h              |    7 +
 tests/capabilities.c                       |  140 ++++++++++++++++++++++-
 4 files changed, 309 insertions(+), 8 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-glib/diff/?id=521799547ad4daf15d006a9ede630bcc7ff98f86


More information about the telepathy-commits mailing list