[ekiga] Account: Dropped (now) useless method.



commit fe9b9d9247e25d39e90d1d17ce60788064d7a2d4
Author: Damien Sandras <dsandras beip be>
Date:   Sun Apr 22 13:26:36 2012 +0200

    Account: Dropped (now) useless method.

 lib/engine/account/account.h                |    7 -------
 lib/engine/components/opal/opal-account.cpp |    8 --------
 lib/engine/components/opal/opal-account.h   |    2 --
 3 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/lib/engine/account/account.h b/lib/engine/account/account.h
index cda15a0..93a1b91 100644
--- a/lib/engine/account/account.h
+++ b/lib/engine/account/account.h
@@ -93,13 +93,6 @@ namespace Ekiga
      * @return Whether the account is active
      */
     virtual bool is_active () const = 0;
-
-
-    /** Returns a boolean indicating whether the account is in a failure state.
-     *
-     * @return Whether the account is in a failure state
-     */
-    virtual bool is_failed () const = 0;
   };
 
   typedef boost::shared_ptr<Account> AccountPtr;
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 2dd4d76..94258c2 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -366,14 +366,6 @@ bool Opal::Account::is_active () const
   return (state == Registered);
 }
 
-bool Opal::Account::is_failed () const
-{
-  if (!enabled)
-    return false;
-
-  return (is_enabled () && state == RegistrationFailed);
-}
-
 
 SIPRegister::CompatibilityModes Opal::Account::get_compat_mode () const
 {
diff --git a/lib/engine/components/opal/opal-account.h b/lib/engine/components/opal/opal-account.h
index 067d0ad..cd7d946 100644
--- a/lib/engine/components/opal/opal-account.h
+++ b/lib/engine/components/opal/opal-account.h
@@ -138,8 +138,6 @@ public:
 
     bool is_active () const;
 
-    bool is_failed () const;
-
     SIPRegister::CompatibilityModes get_compat_mode () const;
 
     void remove ();



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