telepathy-qt: BaseConnection: Added some commentaries.

Alexandr Akulich kaffeine at kemper.freedesktop.org
Wed May 6 01:10:28 PDT 2015


Module: telepathy-qt
Branch: master
Commit: 26559e13f9f6c2429632f0b51fe8ab7a4e19269b
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=26559e13f9f6c2429632f0b51fe8ab7a4e19269b

Author: Alexandr Akulich <akulichalexander at gmail.com>
Date:   Tue Apr 21 13:07:30 2015 +0500

BaseConnection: Added some commentaries.

Reviewed-by: David Edmundson

---

 TelepathyQt/base-connection.cpp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/TelepathyQt/base-connection.cpp b/TelepathyQt/base-connection.cpp
index 2bed0e5..05cf4ba 100644
--- a/TelepathyQt/base-connection.cpp
+++ b/TelepathyQt/base-connection.cpp
@@ -99,6 +99,9 @@ uint BaseConnection::Adaptee::status() const
 
 bool BaseConnection::Adaptee::hasImmortalHandles() const
 {
+    /* True if handles last for the whole lifetime of the Connection.
+     * This SHOULD be the case in all connection managers, but connection managers
+     * MUST interoperate with older clients (which reference-count handles). */
     return true;
 }
 
@@ -288,7 +291,7 @@ QVariantMap BaseConnection::parameters() const
  */
 QVariantMap BaseConnection::immutableProperties() const
 {
-    // FIXME
+    // There is no immutable properties.
     return QVariantMap();
 }
 



More information about the telepathy-commits mailing list