ekiga r6081 - in trunk: . lib/engine/addressbook/call-history lib/engine/protocol/skel src/endpoints src/gui



Author: jpuydt
Date: Fri Mar 21 14:48:20 2008
New Revision: 6081
URL: http://svn.gnome.org/viewvc/ekiga?rev=6081&view=rev

Log:
Changed get_call_duration to get_duration


Modified:
   trunk/ChangeLog
   trunk/lib/engine/addressbook/call-history/history-book.cpp
   trunk/lib/engine/protocol/skel/call.h
   trunk/src/endpoints/opal-call.cpp
   trunk/src/endpoints/opal-call.h
   trunk/src/gui/main.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	Fri Mar 21 14:48:20 2008
@@ -199,6 +199,6 @@
   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_call_duration () << std::endl
+	    << "\tduration: " << call.get_duration () << std::endl
 	    << "\tended with: " << message << std::endl;
 }

Modified: trunk/lib/engine/protocol/skel/call.h
==============================================================================
--- trunk/lib/engine/protocol/skel/call.h	(original)
+++ trunk/lib/engine/protocol/skel/call.h	Fri Mar 21 14:48:20 2008
@@ -124,7 +124,7 @@
       /** Return the call duration
        * @return the current call duration
        */
-      virtual const std::string get_call_duration () const = 0;
+      virtual const std::string get_duration () const = 0;
 
       /** Return information about call type
        * @return true if it is an outgoing call

Modified: trunk/src/endpoints/opal-call.cpp
==============================================================================
--- trunk/src/endpoints/opal-call.cpp	(original)
+++ trunk/src/endpoints/opal-call.cpp	Fri Mar 21 14:48:20 2008
@@ -210,7 +210,7 @@
 
 
 const std::string
-Opal::Call::get_call_duration () const
+Opal::Call::get_duration () const
 {
   std::stringstream duration;
   PTimeInterval t = PTime () - start_time;

Modified: trunk/src/endpoints/opal-call.h
==============================================================================
--- trunk/src/endpoints/opal-call.h	(original)
+++ trunk/src/endpoints/opal-call.h	Fri Mar 21 14:48:20 2008
@@ -123,7 +123,7 @@
       /** Return the call duration
        * @return: the current call duration
        */
-      const std::string get_call_duration () const;
+      const std::string get_duration () const;
 
 
   public:

Modified: trunk/src/gui/main.cpp
==============================================================================
--- trunk/src/gui/main.cpp	(original)
+++ trunk/src/gui/main.cpp	Fri Mar 21 14:48:20 2008
@@ -627,7 +627,7 @@
     gdk_threads_enter ();
     gm_main_window_push_info_message (GTK_WIDGET (self), msg);
     if (mw->current_call)
-      gm_main_window_set_call_duration (GTK_WIDGET (self), mw->current_call->get_call_duration ().c_str ());
+      gm_main_window_set_call_duration (GTK_WIDGET (self), mw->current_call->get_duration ().c_str ());
     gdk_threads_leave ();
 
     g_free (msg);



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