comparison libpurple/account.h @ 32252:a34977b4d858

Add accessors for _PurpleAccount.ui_data
author Kevin Stange <kevin@simguy.net>
date Sat, 01 Oct 2011 23:41:15 +0000
parents c774000690b4
children cb486df263ef
comparison
equal deleted inserted replaced
32251:c774000690b4 32252:a34977b4d858
601 */ 601 */
602 void purple_account_set_ui_bool(PurpleAccount *account, const char *ui, 602 void purple_account_set_ui_bool(PurpleAccount *account, const char *ui,
603 const char *name, gboolean value); 603 const char *name, gboolean value);
604 604
605 /** 605 /**
606 * Returns the UI data associated with this account.
607 *
608 * @param account The account.
609 *
610 * @return The UI data associated with this object. This is a
611 * convenience field provided to the UIs--it is not
612 * used by the libuprple core.
613 */
614 gpointer purple_account_get_ui_data(const PurpleAccount *account);
615
616 /**
617 * Set the UI data associated with this account.
618 *
619 * @param account The account.
620 * @param ui_data A pointer to associate with this object.
621 */
622 void purple_account_set_ui_data(PurpleAccount *account, gpointer ui_data);
623
624 /**
606 * Returns whether or not the account is connected. 625 * Returns whether or not the account is connected.
607 * 626 *
608 * @param account The account. 627 * @param account The account.
609 * 628 *
610 * @return @c TRUE if connected, or @c FALSE otherwise. 629 * @return @c TRUE if connected, or @c FALSE otherwise.