diff src/account.h @ 5565:c3c4aaf69f65

[gaim-migrate @ 5967] More goodies. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 30 May 2003 18:25:11 +0000
parents 187c740f2a4e
children 5e7de337a053
line wrap: on
line diff
--- a/src/account.h	Fri May 30 18:04:45 2003 +0000
+++ b/src/account.h	Fri May 30 18:25:11 2003 +0000
@@ -38,6 +38,7 @@
 	char *buddy_icon;           /**< The buddy icon.             */
 
 	gboolean remember_pass;     /**< Remember the password.      */
+	gboolean check_mail;        /**< Check for mail.             */
 
 	GaimProtocol protocol;      /**< The account protocol.       */
 
@@ -150,6 +151,14 @@
 void gaim_account_set_remember_password(GaimAccount *account, gboolean value);
 
 /**
+ * Sets whether or not this account should check for mail.
+ *
+ * @param account The account.
+ * @param value   @c TRUE if it should check for mail.
+ */
+void gaim_account_set_check_mail(GaimAccount *account, gboolean value);
+
+/**
  * Sets a protocol-specific integer setting for an account.
  *
  * @param account The account.
@@ -261,6 +270,15 @@
 gboolean gaim_account_get_remember_password(const GaimAccount *account);
 
 /**
+ * Returns whether or not this account should check for mail.
+ *
+ * @param account The account.
+ *
+ * @return @c TRUE if it should check for mail.
+ */
+gboolean gaim_account_get_check_mail(const GaimAccount *account);
+
+/**
  * Returns a protocol-specific integer setting for an account.
  *
  * @param account       The account.