diff src/account.h @ 5564:187c740f2a4e

[gaim-migrate @ 5966] Committing what I have so far. Some new functions, and msn is almost done. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 30 May 2003 18:04:45 +0000
parents 9eb5b13fd412
children c3c4aaf69f65
line wrap: on
line diff
--- a/src/account.h	Fri May 30 09:38:29 2003 +0000
+++ b/src/account.h	Fri May 30 18:04:45 2003 +0000
@@ -263,33 +263,39 @@
 /**
  * Returns a protocol-specific integer setting for an account.
  *
- * @param account The account.
- * @param name    The name of the setting.
+ * @param account       The account.
+ * @param name          The name of the setting.
+ * @param default_value The default value.
  *
  * @return The value.
  */
-int gaim_account_get_int(const GaimAccount *account, const char *name);
+int gaim_account_get_int(const GaimAccount *account, const char *name,
+						 int default_value);
 
 /**
  * Returns a protocol-specific string setting for an account.
  *
- * @param account The account.
- * @param name    The name of the setting.
+ * @param account       The account.
+ * @param name          The name of the setting.
+ * @param default_value The default value.
  *
  * @return The value.
  */
 const char *gaim_account_get_string(const GaimAccount *account,
-									const char *name);
+									const char *name,
+									const char *default_value);
 
 /**
  * Returns a protocol-specific boolean setting for an account.
  *
- * @param account The account.
- * @param name    The name of the setting.
+ * @param account       The account.
+ * @param name          The name of the setting.
+ * @param default_value The default value.
  *
  * @return The value.
  */
-gboolean gaim_account_get_bool(const GaimAccount *account, const char *name);
+gboolean gaim_account_get_bool(const GaimAccount *account, const char *name,
+							   gboolean default_value);
 
 /**
  * Returns a list of all accounts.