ekiga r7625 - in trunk/lib/engine: account components/opal



Author: jpuydt
Date: Thu Jan 29 14:47:14 2009
New Revision: 7625
URL: http://svn.gnome.org/viewvc/ekiga?rev=7625&view=rev

Log:
Removed methods from the base account class, but moved the comments to the opal account class

Modified:
   trunk/lib/engine/account/account.h
   trunk/lib/engine/components/opal/opal-account.h

Modified: trunk/lib/engine/account/account.h
==============================================================================
--- trunk/lib/engine/account/account.h	(original)
+++ trunk/lib/engine/account/account.h	Thu Jan 29 14:47:14 2009
@@ -73,14 +73,6 @@
     virtual const std::string get_name () const = 0;
 
 
-    /** Returns the protocol name of the Ekiga::Account.
-     * This function is purely virtual and should be implemented by the
-     * Ekiga::Account descendant.
-     * @return The protocol name of the Ekiga::Contact.
-     */
-    virtual const std::string get_protocol_name () const = 0;
-
-
     /** Returns the address of record for that Ekiga::Account.
      * @return The address of record.
      */
@@ -95,38 +87,6 @@
     virtual const std::string get_host () const = 0;
 
 
-    /** Returns the user name for the Ekiga::Account.
-     * This function is purely virtual and should be implemented by the
-     * Ekiga::Account descendant.
-     * @return The user name of the Ekiga::Account.
-     */
-    virtual const std::string get_username () const = 0;
-
-
-    /** Returns the authentication user name for the Ekiga::Account.
-     * This function is purely virtual and should be implemented by the
-     * Ekiga::Account descendant.
-     * @return The authentication user name of the Ekiga::Account.
-     */
-    virtual const std::string get_authentication_username () const = 0;
-
-
-    /** Returns the password for the Ekiga::Account.
-     * This function is purely virtual and should be implemented by the
-     * Ekiga::Account descendant.
-     * @return The password of the Ekiga::Account.
-     */
-    virtual const std::string get_password () const = 0;
-
-
-    /** Returns the registration timeout for the Ekiga::Account.
-     * This function is purely virtual and should be implemented by the
-     * Ekiga::Account descendant.
-     * @return The timeout of the Ekiga::Account.
-     */
-    virtual unsigned get_timeout () const = 0;
-
-
     /** Subscribe the given account.
      * This function is purely virtual and should be implemented by the
      * Ekiga::Account descendant.

Modified: trunk/lib/engine/components/opal/opal-account.h
==============================================================================
--- trunk/lib/engine/components/opal/opal-account.h	(original)
+++ trunk/lib/engine/components/opal/opal-account.h	Thu Jan 29 14:47:14 2009
@@ -76,19 +76,44 @@
 
     const std::string get_aor () const;
 
+    /** Returns the protocol name of the Opal::Account.
+     * This function is purely virtual and should be implemented by the
+     * Ekiga::Account descendant.
+     * @return The protocol name of the Ekiga::Contact.
+     */
     const std::string get_protocol_name () const;
 
     const std::string get_host () const;
 
+    /** Returns the user name for the Opal::Account.
+     * This function is purely virtual and should be implemented by the
+     * Ekiga::Account descendant.
+     * @return The user name of the Ekiga::Account.
+     */
     const std::string get_username () const;
 
+    /** Returns the authentication user name for the Opal::Account.
+     * This function is purely virtual and should be implemented by the
+     * Ekiga::Account descendant.
+     * @return The authentication user name of the Ekiga::Account.
+     */
     const std::string get_authentication_username () const;
 
+    /** Returns the password for the Opal::Account.
+     * This function is purely virtual and should be implemented by the
+     * Ekiga::Account descendant.
+     * @return The password of the Ekiga::Account.
+     */
     const std::string get_password () const;
 
     void set_authentication_settings (const std::string & username,
                                       const std::string & password);
 
+    /** Returns the registration timeout for the Opal::Account.
+     * This function is purely virtual and should be implemented by the
+     * Ekiga::Account descendant.
+     * @return The timeout of the Ekiga::Account.
+     */
     unsigned get_timeout () const;
 
     void enable ();



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