[ekiga] Removed unused parameter in the opal h323 endpoint api
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Removed unused parameter in the opal h323 endpoint api
- Date: Fri, 25 Jan 2013 13:39:49 +0000 (UTC)
commit 52b47dedde71f67dcbabbe68a467a896518edfb6
Author: Julien Puydt <jpuydt free fr>
Date: Fri Jan 25 14:02:37 2013 +0100
Removed unused parameter in the opal h323 endpoint api
lib/engine/components/opal/h323-endpoint.cpp | 7 +++----
lib/engine/components/opal/h323-endpoint.h | 3 +--
lib/engine/components/opal/opal-main.cpp | 2 +-
3 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/lib/engine/components/opal/h323-endpoint.cpp b/lib/engine/components/opal/h323-endpoint.cpp
index b5028ed..147afd3 100644
--- a/lib/engine/components/opal/h323-endpoint.cpp
+++ b/lib/engine/components/opal/h323-endpoint.cpp
@@ -91,10 +91,9 @@ namespace Opal {
/* The class */
-Opal::H323::EndPoint::EndPoint (Opal::CallManager & _manager, Ekiga::ServiceCore & _core, unsigned _listen_port, unsigned _kind_of_net)
-: H323EndPoint (_manager),
- manager (_manager),
- core (_core)
+Opal::H323::EndPoint::EndPoint (Opal::CallManager & _manager, unsigned _listen_port, unsigned _kind_of_net):
+ H323EndPoint (_manager),
+ manager (_manager)
{
protocol_name = "h323";
uri_prefix = "h323:";
diff --git a/lib/engine/components/opal/h323-endpoint.h b/lib/engine/components/opal/h323-endpoint.h
index 835d7fd..f3f7699 100644
--- a/lib/engine/components/opal/h323-endpoint.h
+++ b/lib/engine/components/opal/h323-endpoint.h
@@ -65,7 +65,7 @@ namespace Opal {
PCLASSINFO(EndPoint, H323EndPoint);
public:
- EndPoint (CallManager &_manager, Ekiga::ServiceCore & core, unsigned listen_port, unsigned kind_of_net);
+ EndPoint (CallManager &_manager, unsigned listen_port, unsigned kind_of_net);
~EndPoint ();
@@ -139,7 +139,6 @@ namespace Opal {
const std::string msg);
CallManager & manager;
- Ekiga::ServiceCore & core;
PMutex gk_name_mutex;
PString gk_name;
diff --git a/lib/engine/components/opal/opal-main.cpp b/lib/engine/components/opal/opal-main.cpp
index 1805b1b..14388a5 100644
--- a/lib/engine/components/opal/opal-main.cpp
+++ b/lib/engine/components/opal/opal-main.cpp
@@ -123,7 +123,7 @@ struct OPALSpark: public Ekiga::Spark
#ifdef HAVE_H323
unsigned h323_port = gm_conf_get_int (H323_KEY "listen_port");
unsigned kind_of_net = gm_conf_get_int (GENERAL_KEY "kind_of_net");
- boost::shared_ptr<H323::EndPoint> h323_manager (new H323::EndPoint (*call_manager, core, h323_port, kind_of_net), null_deleter ());
+ boost::shared_ptr<H323::EndPoint> h323_manager (new H323::EndPoint (*call_manager, h323_port, kind_of_net), null_deleter ());
call_manager->add_protocol_manager (h323_manager);
contact_core->add_contact_decorator (h323_manager);
presence_core->add_presentity_decorator (h323_manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]