[ekiga] CallHistory: Added debug output.



commit 29e8c3d3df989ffa8dc2e1d6aca8c614e65eb629
Author: Damien Sandras <dsandras seconix com>
Date:   Sun Feb 8 13:15:52 2015 +0100

    CallHistory: Added debug output.

 .../components/call-history/history-book.cpp       |    4 ++++
 .../components/call-history/history-source.cpp     |    5 +++++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/call-history/history-book.cpp 
b/lib/engine/components/call-history/history-book.cpp
index 6210c8f..0011187 100644
--- a/lib/engine/components/call-history/history-book.cpp
+++ b/lib/engine/components/call-history/history-book.cpp
@@ -32,6 +32,7 @@
  *
  */
 
+#include "config.h"
 #include "history-book.h"
 
 #include <glib/gi18n.h>
@@ -91,6 +92,9 @@ History::Book::Book (Ekiga::ServiceCore& core):
 
 History::Book::~Book ()
 {
+#if DEBUG
+  std::cout << "History::Book: Destructor invoked" << std::endl << std::flush;
+#endif
 }
 
 const std::string
diff --git a/lib/engine/components/call-history/history-source.cpp 
b/lib/engine/components/call-history/history-source.cpp
index c94150e..cd74973 100644
--- a/lib/engine/components/call-history/history-source.cpp
+++ b/lib/engine/components/call-history/history-source.cpp
@@ -32,6 +32,8 @@
  *
  */
 
+#include "config.h"
+
 #include "history-source.h"
 
 History::Source::Source (Ekiga::ServiceCore &_core): core(_core)
@@ -43,6 +45,9 @@ History::Source::Source (Ekiga::ServiceCore &_core): core(_core)
 
 History::Source::~Source ()
 {
+#if DEBUG
+  std::cout << "History::Source: Destructor invoked" << std::endl << std::flush;
+#endif
 }
 
 const std::list<std::string>


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