[ekiga] Made the type of an Opal::Account readable through a simple API
- From: Julien Puydt <jpuydt src gnome org>
- To: svn-commits-list gnome org
- Subject: [ekiga] Made the type of an Opal::Account readable through a simple API
- Date: Mon, 22 Jun 2009 14:46:14 -0400 (EDT)
commit a65a56940da69a3f31e41fb39cf15c75049f67a7
Author: Julien Puydt <jpuydt gnome org>
Date: Mon Jun 22 20:44:15 2009 +0200
Made the type of an Opal::Account readable through a simple API
The type of the type was already public anyway...
lib/engine/components/opal/opal-account.cpp | 6 ++++++
lib/engine/components/opal/opal-account.h | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 1f78b98..c42cc4a 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -526,3 +526,9 @@ Opal::Account::handle_message_waiting_information (const std::string info)
updated.emit ();
}
}
+
+Opal::Account::Type
+Opal::Account::get_type () const
+{
+ return type;
+}
diff --git a/lib/engine/components/opal/opal-account.h b/lib/engine/components/opal/opal-account.h
index f815cf4..57a0ae2 100644
--- a/lib/engine/components/opal/opal-account.h
+++ b/lib/engine/components/opal/opal-account.h
@@ -80,6 +80,8 @@ public:
const std::string get_aor () const;
+ Type get_type () const;
+
/** Returns the protocol name of the Opal::Account.
* This function is purely virtual and should be implemented by the
* Ekiga::Account descendant.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]