[telepathy-qt4/master] Channel: Generating ChannelInterfaceTube.
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 2161957..cb3f8b0 100644
--- a/TelepathyQt4/channel.h
+++ b/TelepathyQt4/channel.h
@@ -194,6 +194,12 @@ public:
return optionalInterface<Client::ChannelInterfacePasswordInterface>(check);
}
+ inline Client::ChannelInterfaceTubeInterface *tubeInterface(
+ InterfaceSupportedChecking check = CheckInterfaceSupported) const
+ {
+ return optionalInterface<Client::ChannelInterfaceTubeInterface>(check);
+ }
+
template <class Interface>
inline Interface *typeInterface(
InterfaceSupportedChecking check = CheckInterfaceSupported) const
diff --git a/TelepathyQt4/channel.xml b/TelepathyQt4/channel.xml
index df57d24..4cd9659 100644
--- a/TelepathyQt4/channel.xml
+++ b/TelepathyQt4/channel.xml
@@ -21,5 +21,6 @@
<xi:include href="../spec/Channel_Interface_Media_Signalling.xml"/>
<xi:include href="../spec/Channel_Interface_Messages.xml"/>
<xi:include href="../spec/Channel_Interface_Password.xml"/>
+<xi:include href="../spec/Channel_Interface_Tube.xml"/>
</tp:spec>
--
1.5.6.5
More information about the telepathy-commits
mailing list