[ekiga] Made a comment more explicit in the opal account code
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Made a comment more explicit in the opal account code
- Date: Mon, 30 May 2011 19:18:53 +0000 (UTC)
commit a3b3596af1f71643ba5d210fdccf08f2e3c26cee
Author: Snark <jpuydt gnome org>
Date: Mon May 30 21:18:22 2011 +0200
Made a comment more explicit in the opal account code
lib/engine/components/opal/opal-account.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 2ae0250..908e883 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -498,7 +498,9 @@ Opal::Account::publish (const Ekiga::PersonalDetails& details)
{
std::string presence = details.get_presence ();
- // FIXME: complete!
+ // FIXME : if we decide to have more presence states,
+ // the compiler won't be able to tell us we don't have
+ // a complete conversion here...
if (presence == "online")
personal_state = OpalPresenceInfo::Available;
if (presence == "away")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]