[ekiga/ds-opal-refactoring] Opal: Initialize Accounts stuff in opal-main.cpp.



commit 39af1b24334c95c8cbf49b5e6b5e2cbf2df294ff
Author: Damien Sandras <dsandras seconix com>
Date:   Thu Mar 19 19:06:43 2015 +0100

    Opal: Initialize Accounts stuff in opal-main.cpp.

 lib/engine/components/opal/opal-main.cpp |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-main.cpp b/lib/engine/components/opal/opal-main.cpp
index 02f7263..c84bf16 100644
--- a/lib/engine/components/opal/opal-main.cpp
+++ b/lib/engine/components/opal/opal-main.cpp
@@ -101,6 +101,17 @@ struct OPALSpark: public Ekiga::Spark
       call_core->add_manager (h323_call_manager);
 #endif
 
+      boost::shared_ptr<Opal::Bank> bank = boost::shared_ptr<Opal::Bank> (new Opal::Bank (core,
+#ifdef HAVE_H323
+                                                                                          
GnomeMeeting::Process ()->get_endpoint ().get_h323_endpoint ().get (),
+#endif
+                                                                                          
GnomeMeeting::Process ()->get_endpoint ().get_sip_endpoint ().get ()));
+
+      account_core->add_bank (bank);
+      presence_core->add_cluster (bank);
+      core.add (bank);
+      presence_core->add_presence_publisher (bank);
+
       result = true;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]