[Telepathy-commits] [telepathy-qt4/master] Channel: expose messagesInterface() accessor
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Feb 18 07:04:19 PST 2009
---
TelepathyQt4/Client/channel.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/TelepathyQt4/Client/channel.h b/TelepathyQt4/Client/channel.h
index 4349706..f407bc1 100644
--- a/TelepathyQt4/Client/channel.h
+++ b/TelepathyQt4/Client/channel.h
@@ -206,6 +206,12 @@ public:
return optionalInterface<ChannelInterfaceMediaSignallingInterface>(check);
}
+ inline ChannelInterfaceMessagesInterface *messagesInterface(
+ InterfaceSupportedChecking check = CheckInterfaceSupported) const
+ {
+ return optionalInterface<ChannelInterfaceMessagesInterface>(check);
+ }
+
inline ChannelInterfacePasswordInterface *passwordInterface(
InterfaceSupportedChecking check = CheckInterfaceSupported) const
{
--
1.5.6.5
More information about the telepathy-commits
mailing list