[ekiga/ds-gtk-application] CallCore: Add a new signal emitted when a call is created.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] CallCore: Add a new signal emitted when a call is created.
- Date: Sun, 2 Nov 2014 15:06:50 +0000 (UTC)
commit a30c1de8dd5e6f1e848ba600118ec3ca87454240
Author: Damien Sandras <dsandras seconix com>
Date: Sun Nov 2 16:05:33 2014 +0100
CallCore: Add a new signal emitted when a call is created.
This signal is emitted before the call setup signal.
lib/engine/protocol/call-core.cpp | 2 ++
lib/engine/protocol/call-core.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/protocol/call-core.cpp b/lib/engine/protocol/call-core.cpp
index b69afcb..6f42846 100644
--- a/lib/engine/protocol/call-core.cpp
+++ b/lib/engine/protocol/call-core.cpp
@@ -149,6 +149,8 @@ bool CallCore::is_supported_uri (const std::string & uri)
void CallCore::add_call (boost::shared_ptr<Call> call, boost::shared_ptr<CallManager> manager)
{
+ created_call (manager, call);
+
boost::shared_ptr<Ekiga::scoped_connections> conns(new Ekiga::scoped_connections);
conns->add (call->ringing.connect (boost::bind (&CallCore::on_ringing_call, this,
diff --git a/lib/engine/protocol/call-core.h b/lib/engine/protocol/call-core.h
index e6f3dc1..0bf8857 100644
--- a/lib/engine/protocol/call-core.h
+++ b/lib/engine/protocol/call-core.h
@@ -176,6 +176,7 @@ namespace Ekiga
boost::signals2::signal<void(boost::shared_ptr<CallManager>, boost::shared_ptr<Call>)> setup_call;
boost::signals2::signal<void(boost::shared_ptr<CallManager>, boost::shared_ptr<Call>)> missed_call;
boost::signals2::signal<void(boost::shared_ptr<CallManager>, boost::shared_ptr<Call>, std::string)>
cleared_call;
+ boost::signals2::signal<void(boost::shared_ptr<CallManager>, boost::shared_ptr<Call>)> created_call;
boost::signals2::signal<void(boost::shared_ptr<CallManager>, boost::shared_ptr<Call>)>
established_call;
boost::signals2::signal<void(boost::shared_ptr<CallManager>, boost::shared_ptr<Call>)> held_call;
boost::signals2::signal<void(boost::shared_ptr<CallManager>, boost::shared_ptr<Call>)> retrieved_call;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]