[Telepathy-commits] [telepathy-qt4/master] Use typeInterface instead of optionalInterface for Channel type-specific interfaces, as intended
Olli Salli
olli.salli at collabora.co.uk
Tue Oct 7 14:29:45 PDT 2008
---
TelepathyQt4/cli-channel.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/TelepathyQt4/cli-channel.h b/TelepathyQt4/cli-channel.h
index 2bb7283..3c2f4c7 100644
--- a/TelepathyQt4/cli-channel.h
+++ b/TelepathyQt4/cli-channel.h
@@ -377,7 +377,7 @@ public:
*/
inline ChannelTypeRoomListInterface* roomListInterface(InterfaceSupportedChecking check = CheckInterfaceSupported) const
{
- return optionalInterface<ChannelTypeRoomListInterface>(check);
+ return typeInterface<ChannelTypeRoomListInterface>(check);
}
/**
@@ -388,7 +388,7 @@ public:
*/
inline ChannelTypeStreamedMediaInterface* streamedMediaInterface(InterfaceSupportedChecking check = CheckInterfaceSupported) const
{
- return optionalInterface<ChannelTypeStreamedMediaInterface>(check);
+ return typeInterface<ChannelTypeStreamedMediaInterface>(check);
}
/**
@@ -399,7 +399,7 @@ public:
*/
inline ChannelTypeTextInterface* textInterface(InterfaceSupportedChecking check = CheckInterfaceSupported) const
{
- return optionalInterface<ChannelTypeTextInterface>(check);
+ return typeInterface<ChannelTypeTextInterface>(check);
}
/**
@@ -410,7 +410,7 @@ public:
*/
inline ChannelTypeTubesInterface* tubesInterface(InterfaceSupportedChecking check = CheckInterfaceSupported) const
{
- return optionalInterface<ChannelTypeTubesInterface>(check);
+ return typeInterface<ChannelTypeTubesInterface>(check);
}
//@}
--
1.5.6.5
More information about the Telepathy-commits
mailing list