ekiga r6375 - in trunk: lib/engine/addressbook/call-history lib/engine/protocol/skel src/endpoints



Author: jpuydt
Date: Fri Jun  6 14:50:19 2008
New Revision: 6375
URL: http://svn.gnome.org/viewvc/ekiga?rev=6375&view=rev

Log:
Remove some 'const' which just give warnings.


Modified:
   trunk/lib/engine/addressbook/call-history/history-contact.cpp
   trunk/lib/engine/addressbook/call-history/history-contact.h
   trunk/lib/engine/protocol/skel/call-manager.cpp
   trunk/lib/engine/protocol/skel/call-manager.h
   trunk/lib/engine/protocol/skel/call.h
   trunk/src/endpoints/opal-call.cpp
   trunk/src/endpoints/opal-call.h

Modified: trunk/lib/engine/addressbook/call-history/history-contact.cpp
==============================================================================
--- trunk/lib/engine/addressbook/call-history/history-contact.cpp	(original)
+++ trunk/lib/engine/addressbook/call-history/history-contact.cpp	Fri Jun  6 14:50:19 2008
@@ -171,13 +171,13 @@
   return node;
 }
 
-const History::call_type
+History::call_type
 History::Contact::get_type () const
 {
   return m_type;
 }
 
-const time_t
+time_t
 History::Contact::get_call_start () const
 {
   return call_start;

Modified: trunk/lib/engine/addressbook/call-history/history-contact.h
==============================================================================
--- trunk/lib/engine/addressbook/call-history/history-contact.h	(original)
+++ trunk/lib/engine/addressbook/call-history/history-contact.h	Fri Jun  6 14:50:19 2008
@@ -89,9 +89,9 @@
 
     xmlNodePtr get_node ();
 
-    const call_type get_type () const;
+    call_type get_type () const;
 
-    const time_t get_call_start () const;
+    time_t get_call_start () const;
 
     const std::string get_call_duration () const;
 

Modified: trunk/lib/engine/protocol/skel/call-manager.cpp
==============================================================================
--- trunk/lib/engine/protocol/skel/call-manager.cpp	(original)
+++ trunk/lib/engine/protocol/skel/call-manager.cpp	Fri Jun  6 14:50:19 2008
@@ -50,7 +50,7 @@
 }
 
 
-CallProtocolManager * const CallManager::get_protocol_manager (const std::string &protocol) const
+CallProtocolManager* CallManager::get_protocol_manager (const std::string &protocol) const
 {
   for (CallManager::iterator iter = begin ();
        iter != end ();

Modified: trunk/lib/engine/protocol/skel/call-manager.h
==============================================================================
--- trunk/lib/engine/protocol/skel/call-manager.h	(original)
+++ trunk/lib/engine/protocol/skel/call-manager.h	Fri Jun  6 14:50:19 2008
@@ -76,7 +76,7 @@
        * @param protocol is the protcol name.
        * @return a pointer to the CallProtocolManager or NULL if none.
        */
-      CallProtocolManager * const get_protocol_manager (const std::string &protocol) const;
+      CallProtocolManager* get_protocol_manager (const std::string &protocol) const;
 
       /** Return iterator to beginning
        * @return iterator to beginning

Modified: trunk/lib/engine/protocol/skel/call.h
==============================================================================
--- trunk/lib/engine/protocol/skel/call.h	(original)
+++ trunk/lib/engine/protocol/skel/call.h	Fri Jun  6 14:50:19 2008
@@ -135,7 +135,7 @@
       /** Return the call start date and time
        * @return the current call start date and time
        */
-      virtual const time_t get_start_time () const = 0;
+      virtual time_t get_start_time () 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 Jun  6 14:50:19 2008
@@ -254,7 +254,7 @@
 }
 
 
-const time_t 
+time_t 
 Opal::Call::get_start_time () const
 {
   return start_time.GetTimeInSeconds ();

Modified: trunk/src/endpoints/opal-call.h
==============================================================================
--- trunk/src/endpoints/opal-call.h	(original)
+++ trunk/src/endpoints/opal-call.h	Fri Jun  6 14:50:19 2008
@@ -140,7 +140,7 @@
     /** Return the call start date and time
      * @return the current call start date and time
      */
-    const time_t get_start_time () const;
+    time_t get_start_time () const;
 
 
 public:



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