ekiga r6215 - in trunk: . lib/engine/framework
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6215 - in trunk: . lib/engine/framework
- Date: Tue, 22 Apr 2008 21:51:15 +0100 (BST)
Author: dsandras
Date: Tue Apr 22 20:51:15 2008
New Revision: 6215
URL: http://svn.gnome.org/viewvc/ekiga?rev=6215&view=rev
Log:
Move some methods to const methods.
Modified:
trunk/ChangeLog
trunk/lib/engine/framework/personal-details.cpp
trunk/lib/engine/framework/personal-details.h
Modified: trunk/lib/engine/framework/personal-details.cpp
==============================================================================
--- trunk/lib/engine/framework/personal-details.cpp (original)
+++ trunk/lib/engine/framework/personal-details.cpp Tue Apr 22 20:51:15 2008
@@ -39,20 +39,20 @@
using namespace Ekiga;
-const std::string & PersonalDetails::get_display_name ()
+const std::string & PersonalDetails::get_display_name () const
{
return display_name;
}
-const std::string & PersonalDetails::get_short_status ()
+const std::string & PersonalDetails::get_short_status () const
{
return short_status;
}
-const std::string & PersonalDetails::get_long_status ()
-{
+const std::string & PersonalDetails::get_long_status () const
+{
return long_status;
}
Modified: trunk/lib/engine/framework/personal-details.h
==============================================================================
--- trunk/lib/engine/framework/personal-details.h (original)
+++ trunk/lib/engine/framework/personal-details.h Tue Apr 22 20:51:15 2008
@@ -68,11 +68,11 @@
/*** PersonalDetails API ***/
- const std::string & get_display_name ();
+ const std::string & get_display_name () const;
- const std::string & get_short_status ();
+ const std::string & get_short_status () const;
- const std::string & get_long_status ();
+ const std::string & get_long_status () const;
void set_display_name (const std::string & display_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]