[ekiga] Opal: Removed now useless signal.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Opal: Removed now useless signal.
- Date: Thu, 15 Jan 2015 11:16:26 +0000 (UTC)
commit 486bc014c89368425716811cff347a44685b0032
Author: Damien Sandras <dsandras seconix com>
Date: Tue Jan 13 22:00:59 2015 +0100
Opal: Removed now useless signal.
lib/engine/components/opal/opal-bank.cpp | 13 -------------
lib/engine/components/opal/opal-bank.h | 4 ----
lib/engine/components/opal/sip-endpoint.h | 5 -----
3 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-bank.cpp b/lib/engine/components/opal/opal-bank.cpp
index e2ea9fc..09cddad 100644
--- a/lib/engine/components/opal/opal-bank.cpp
+++ b/lib/engine/components/opal/opal-bank.cpp
@@ -116,7 +116,6 @@ Opal::Bank::Bank (Ekiga::ServiceCore& core):
}
}
- sip_endpoint->registration_event.connect (boost::bind(&Opal::Bank::on_registration_event, this, _1, _2,
_3));
sip_endpoint->mwi_event.connect (boost::bind(&Opal::Bank::on_mwi_event, this, _1, _2));
account_added.connect (boost::bind (&Opal::Bank::update_sip_endpoint_aor_map, this));
@@ -356,18 +355,6 @@ Opal::Bank::publish (const Ekiga::PersonalDetails& details)
void
-Opal::Bank::on_registration_event (std::string aor,
- Opal::Account::RegistrationState state,
- std::string msg)
-{
- AccountPtr account = find_account (aor);
-
- if (account)
- account->handle_registration_event (state, msg);
-}
-
-
-void
Opal::Bank::on_mwi_event (std::string aor,
std::string info)
{
diff --git a/lib/engine/components/opal/opal-bank.h b/lib/engine/components/opal/opal-bank.h
index 303f803..e651c69 100644
--- a/lib/engine/components/opal/opal-bank.h
+++ b/lib/engine/components/opal/opal-bank.h
@@ -144,10 +144,6 @@ private:
void on_account_removed (boost::shared_ptr<Account> account);
- void on_registration_event (std::string aor,
- Opal::Account::RegistrationState state,
- std::string msg);
-
void on_mwi_event (std::string aor,
std::string info);
diff --git a/lib/engine/components/opal/sip-endpoint.h b/lib/engine/components/opal/sip-endpoint.h
index d50b928..4c2fc3c 100644
--- a/lib/engine/components/opal/sip-endpoint.h
+++ b/lib/engine/components/opal/sip-endpoint.h
@@ -118,11 +118,6 @@ namespace Opal {
void set_forward_uri (const std::string & uri);
const std::string & get_forward_uri () const;
-
- // a registration event occurred
- // the parameters are the aor, the state and the message
- boost::signals2::signal<void(std::string, Opal::Account::RegistrationState, std::string)>
registration_event;
-
// a message waiting information was received
// the parameters are the aor and the info
boost::signals2::signal<void(std::string, std::string)> mwi_event;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]