ekiga r6083 - trunk/lib/engine/addressbook/call-history
- From: jpuydt svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6083 - trunk/lib/engine/addressbook/call-history
- Date: Thu, 27 Mar 2008 12:36:49 +0000 (GMT)
Author: jpuydt
Date: Thu Mar 27 12:36:49 2008
New Revision: 6083
URL: http://svn.gnome.org/viewvc/ekiga?rev=6083&view=rev
Log:
Replaced console printing by actual code
Modified:
trunk/lib/engine/addressbook/call-history/history-book.cpp
Modified: trunk/lib/engine/addressbook/call-history/history-book.cpp
==============================================================================
--- trunk/lib/engine/addressbook/call-history/history-book.cpp (original)
+++ trunk/lib/engine/addressbook/call-history/history-book.cpp Thu Mar 27 12:36:49 2008
@@ -186,19 +186,19 @@
History::Book::on_missed_call (Ekiga::CallManager &/*manager*/,
Ekiga::Call &call)
{
- std::cout << "Missed call:" << std::endl
- << "\twith: " << call.get_remote_party_name () << std::endl
- << "\twhen: ???" << std::endl;
+ add (call.get_remote_party_name (),
+ call.get_remote_uri (),
+ "FIXME: what to say? Idea: when?",
+ MISSED);
}
void
History::Book::on_cleared_call (Ekiga::CallManager &/*manager*/,
Ekiga::Call &call,
- std::string message)
+ std::string /*message*/)
{
- std::cout << "Normal call:" << std::endl
- << "\twith: " << call.get_remote_party_name () << std::endl
- << "\tdirection: " << (call.is_outgoing ()?"out":"in") << std::endl
- << "\tduration: " << call.get_duration () << std::endl
- << "\tended with: " << message << std::endl;
+ add (call.get_remote_party_name (),
+ call.get_remote_uri (),
+ "FIXME: what to say? Idea: when? End message perhaps? Forget duration?",
+ (call.is_outgoing ()?PLACED:RECEIVED));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]