[ekiga] Removed the obsolete OnMessageFailed method in the SIP endpoint code
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Removed the obsolete OnMessageFailed method in the SIP endpoint code
- Date: Mon, 17 Jan 2011 20:10:18 +0000 (UTC)
commit e5afd686458c3390356393ee546471baab18b67b
Author: Snark <jpuydt gnome org>
Date: Mon Jan 17 21:11:08 2011 +0100
Removed the obsolete OnMessageFailed method in the SIP endpoint code
lib/engine/components/opal/sip-endpoint.cpp | 13 -------------
lib/engine/components/opal/sip-endpoint.h | 3 ---
2 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/lib/engine/components/opal/sip-endpoint.cpp b/lib/engine/components/opal/sip-endpoint.cpp
index 0aa77b0..39a0aaf 100644
--- a/lib/engine/components/opal/sip-endpoint.cpp
+++ b/lib/engine/components/opal/sip-endpoint.cpp
@@ -898,19 +898,6 @@ Opal::Sip::EndPoint::OnReceivedMESSAGE (OpalTransport & transport,
}
-void
-Opal::Sip::EndPoint::OnMessageFailed (const SIPURL & messageUrl,
- SIP_PDU::StatusCodes /*reason*/)
-{
- SIPURL to = messageUrl;
- to.Sanitise (SIPURL::ToURI);
- std::string uri = (const char *) to.AsString ();
- std::string display_name = (const char *) to.GetDisplayName ();
-
- Ekiga::Runtime::run_in_main (boost::bind (&Opal::Sip::EndPoint::push_notice_in_main, this, uri, display_name, _("Could not send message")));
-}
-
-
SIPURL
Opal::Sip::EndPoint::GetRegisteredPartyName (const SIPURL & aor,
const OpalTransport & transport)
diff --git a/lib/engine/components/opal/sip-endpoint.h b/lib/engine/components/opal/sip-endpoint.h
index 69ddc2b..2113a82 100644
--- a/lib/engine/components/opal/sip-endpoint.h
+++ b/lib/engine/components/opal/sip-endpoint.h
@@ -169,9 +169,6 @@ namespace Opal {
bool OnReceivedMESSAGE (OpalTransport & transport,
SIP_PDU & pdu);
- void OnMessageFailed (const SIPURL & messageUrl,
- SIP_PDU::StatusCodes reason);
-
SIPURL GetRegisteredPartyName (const SIPURL & host,
const OpalTransport & transport);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]