[Telepathy-commits] [telepathy-qt4/master] StreamedMediaChannel: Removed MediaStream::remove method in favor of StreamedMedia::removeStreams methods.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Thu Mar 19 17:08:23 PDT 2009


---
 TelepathyQt4/Client/streamed-media-channel.cpp |   11 -----------
 TelepathyQt4/Client/streamed-media-channel.h   |    1 -
 2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/TelepathyQt4/Client/streamed-media-channel.cpp b/TelepathyQt4/Client/streamed-media-channel.cpp
index e0f8dab..6c3f6a9 100644
--- a/TelepathyQt4/Client/streamed-media-channel.cpp
+++ b/TelepathyQt4/Client/streamed-media-channel.cpp
@@ -344,17 +344,6 @@ Telepathy::MediaStreamPendingSend MediaStream::pendingSend() const
 }
 
 /**
- * Request this stream to be removed.
- *
- * \return A PendingOperation which will emit PendingOperation::finished
- *         when the call has finished.
- */
-PendingOperation *MediaStream::remove()
-{
-    return mPriv->channel->removeStreams(Telepathy::UIntList() << mPriv->id);
-}
-
-/**
  * Request a change in the direction of this stream. In particular, this
  * might be useful to stop sending media of a particular type, or inform the
  * peer that you are no longer using media that is being sent to you.
diff --git a/TelepathyQt4/Client/streamed-media-channel.h b/TelepathyQt4/Client/streamed-media-channel.h
index a1f9e04..41d5a04 100644
--- a/TelepathyQt4/Client/streamed-media-channel.h
+++ b/TelepathyQt4/Client/streamed-media-channel.h
@@ -95,7 +95,6 @@ public:
     Telepathy::MediaStreamDirection direction() const;
     Telepathy::MediaStreamPendingSend pendingSend() const;
 
-    PendingOperation *remove();
     PendingOperation *requestDirection(
             Telepathy::MediaStreamDirection direction);
     PendingOperation *requestDirection(
-- 
1.5.6.5




More information about the telepathy-commits mailing list