[telepathy-qt4/master] Channel: Generating ChannelTypeStreamTube.

Abner Silva (none) abner at mustang
Wed Sep 23 13:30:28 PDT 2009


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

diff --git a/TelepathyQt4/channel.h b/TelepathyQt4/channel.h
index cb3f8b0..8980f1e 100644
--- a/TelepathyQt4/channel.h
+++ b/TelepathyQt4/channel.h
@@ -237,6 +237,12 @@ public:
         return typeInterface<Client::ChannelTypeTubesInterface>(check);
     }
 
+    inline Client::ChannelTypeStreamTubeInterface *streamTubeInterface(
+            InterfaceSupportedChecking check = CheckInterfaceSupported) const
+    {
+        return typeInterface<Client::ChannelTypeStreamTubeInterface>(check);
+    }
+
 Q_SIGNALS:
     void groupFlagsChanged(uint flags, uint added, uint removed);
 
diff --git a/TelepathyQt4/channel.xml b/TelepathyQt4/channel.xml
index 4cd9659..5194a5a 100644
--- a/TelepathyQt4/channel.xml
+++ b/TelepathyQt4/channel.xml
@@ -12,6 +12,7 @@
 <xi:include href="../spec/Channel_Type_Room_List.xml"/>
 <xi:include href="../spec/Channel_Type_Text.xml"/>
 <xi:include href="../spec/Channel_Type_Tubes.xml"/>
+<xi:include href="../spec/Channel_Type_Stream_Tube.xml"/>
 
 <xi:include href="../spec/Channel_Interface_Call_State.xml"/>
 <xi:include href="../spec/Channel_Interface_Chat_State.xml"/>
-- 
1.5.6.5




More information about the telepathy-commits mailing list