[telepathy-qt4/master] Channel: Added accessor for fileTransferInterface.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Mon Sep 28 19:03:31 PDT 2009


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

diff --git a/TelepathyQt4/channel.h b/TelepathyQt4/channel.h
index 2161957..bbeb42c 100644
--- a/TelepathyQt4/channel.h
+++ b/TelepathyQt4/channel.h
@@ -225,6 +225,12 @@ public:
         return typeInterface<Client::ChannelTypeTextInterface>(check);
     }
 
+    inline Client::ChannelTypeFileTransferInterface *fileTransferInterface(
+            InterfaceSupportedChecking check = CheckInterfaceSupported) const
+    {
+        return typeInterface<Client::ChannelTypeFileTransferInterface>(check);
+    }
+
     inline Client::ChannelTypeTubesInterface *tubesInterface(
             InterfaceSupportedChecking check = CheckInterfaceSupported) const
     {
-- 
1.5.6.5




More information about the telepathy-commits mailing list