[ekiga/ds-opal-refactoring] Opal: Cleaned up useless code.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-opal-refactoring] Opal: Cleaned up useless code.
- Date: Sun, 22 Mar 2015 09:16:45 +0000 (UTC)
commit e2d078c8510f239c5adfe8895fbddbf10e114880
Author: Damien Sandras <dsandras seconix com>
Date: Sat Mar 21 19:11:12 2015 +0100
Opal: Cleaned up useless code.
.../components/opal/process/opal-process.cpp | 29 --------------------
lib/engine/components/opal/process/opal-process.h | 11 -------
2 files changed, 0 insertions(+), 40 deletions(-)
---
diff --git a/lib/engine/components/opal/process/opal-process.cpp
b/lib/engine/components/opal/process/opal-process.cpp
index 7a00e48..8d1119d 100644
--- a/lib/engine/components/opal/process/opal-process.cpp
+++ b/lib/engine/components/opal/process/opal-process.cpp
@@ -55,9 +55,6 @@ GnomeMeeting::GnomeMeeting () : PProcess("", "", MAJOR_VERSION, MINOR_VERSION, B
GnomeMeeting::~GnomeMeeting ()
{
std::cout << "PPROCESS END Start" << std::endl << std::flush;
- std::cout << "bank use count" << bank.use_count () << std::endl << std::flush;
-
- boost::shared_ptr<Ekiga::AccountCore> acore = account_core.lock ();
// First remove all Opal::Accounts from our Bank.
//
// Do it forcibly so we're sure the accounts are freed before our
@@ -103,29 +100,3 @@ GnomeMeeting::GetEndPoint ()
{
return *endpoint;
}
-
-
-void GnomeMeeting::on_ready (
-#ifdef HAVE_H323
- Opal::H323::EndPoint* /*h323_endpoint*/,
-#endif
- Opal::Sip::EndPoint* /*sip_endpoint*/)
-{
- /*
- presence_core = boost::weak_ptr<Ekiga::PresenceCore> (core.get<Ekiga::PresenceCore> ("presence-core"));
- account_core = boost::weak_ptr<Ekiga::AccountCore> (core.get<Ekiga::AccountCore> ("account-core"));
-
- bank = boost::shared_ptr<Opal::Bank> (new Opal::Bank (core,
-#ifdef HAVE_H323
- h323_endpoint,
-#endif
- sip_endpoint));
-
- boost::shared_ptr<Ekiga::AccountCore> acore = account_core.lock ();
- boost::shared_ptr<Ekiga::PresenceCore> pcore = presence_core.lock ();
- acore->add_bank (bank);
- pcore->add_cluster (bank);
- core.add (bank);
- pcore->add_presence_publisher (bank);
- */
-}
diff --git a/lib/engine/components/opal/process/opal-process.h
b/lib/engine/components/opal/process/opal-process.h
index 1fdec20..421c2fe 100644
--- a/lib/engine/components/opal/process/opal-process.h
+++ b/lib/engine/components/opal/process/opal-process.h
@@ -78,19 +78,8 @@ class GnomeMeeting : public PProcess
private:
- void on_ready (
-#ifdef HAVE_H323
- Opal::H323::EndPoint* h323_endpoint,
-#endif
- Opal::Sip::EndPoint* sip_endpoint);
-
static GnomeMeeting *GM;
Opal::EndPoint* endpoint;
- boost::shared_ptr<Opal::Bank> bank;
-
- boost::weak_ptr<Ekiga::CallCore> call_core;
- boost::weak_ptr<Ekiga::PresenceCore> presence_core;
- boost::weak_ptr<Ekiga::AccountCore> account_core;
};
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]