[Telepathy-commits] [telepathy-qt4/master] Add overview comment explaining the benefits of using Channel

Olli Salli olli.salli at collabora.co.uk
Sat Sep 20 10:00:56 PDT 2008


---
 TelepathyQt4/cli-channel.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/TelepathyQt4/cli-channel.h b/TelepathyQt4/cli-channel.h
index 7ece273..22e728a 100644
--- a/TelepathyQt4/cli-channel.h
+++ b/TelepathyQt4/cli-channel.h
@@ -54,6 +54,18 @@ namespace Client
  * \headerfile TelepathyQt4/cli-channel.h <TelepathyQt4/Client/Channel>
  *
  * High-level proxy object for accessing remote %Telepathy %Channel objects.
+ *
+ * It adds the following features compared to using ChannelInterface directly:
+ * <ul>
+ *  <li>Life cycle tracking</li>
+ *  <li>Getting the channel type, handle type, handle and interfaces automatically</li>
+ * </ul>
+ *
+ * The remote object state accessor functions on this object (interfaces(),
+ * channelType(), handleType(), handle()) don't make any DBus calls; instead,
+ * they return values cached from a previous introspection run. The introspection
+ * process populates their values in the most efficient way possible based on
+ * what the service implements.
  */
 class Channel : public ChannelInterface
 {
-- 
1.5.6.5




More information about the Telepathy-commits mailing list