src/request.h

changeset 8289
234429bac6b5
parent 8286
7a4c038d1ecd
child 8395
c78dac49d584
equal deleted inserted replaced
8288:457cf0339c09 8289:234429bac6b5
151 struct 151 struct
152 { 152 {
153 GaimAccount *default_account; 153 GaimAccount *default_account;
154 GaimAccount *account; 154 GaimAccount *account;
155 gboolean show_all; 155 gboolean show_all;
156
157 GaimFilterAccountFunc filter_func;
156 158
157 } account; 159 } account;
158 160
159 } u; 161 } u;
160 162
993 */ 995 */
994 void gaim_request_field_account_set_show_all(GaimRequestField *field, 996 void gaim_request_field_account_set_show_all(GaimRequestField *field,
995 gboolean show_all); 997 gboolean show_all);
996 998
997 /** 999 /**
1000 * Sets the account filter function in an account field.
1001 *
1002 * This function will determine which accounts get displayed and which
1003 * don't.
1004 *
1005 * @param field The account field.
1006 * @param filter_func The account filter function.
1007 */
1008 void gaim_request_field_account_set_filter(GaimRequestField *field,
1009 GaimFilterAccountFunc filter_func);
1010
1011 /**
998 * Returns the default account in an account field. 1012 * Returns the default account in an account field.
999 * 1013 *
1000 * @param field The field. 1014 * @param field The field.
1001 * 1015 *
1002 * @return The default account. 1016 * @return The default account.
1022 * 1036 *
1023 * @param field The account field. 1037 * @param field The account field.
1024 * @param show_all Whether or not to show all accounts. 1038 * @param show_all Whether or not to show all accounts.
1025 */ 1039 */
1026 gboolean gaim_request_field_account_get_show_all( 1040 gboolean gaim_request_field_account_get_show_all(
1041 const GaimRequestField *field);
1042
1043 /**
1044 * Returns the account filter function in an account field.
1045 *
1046 * This function will determine which accounts get displayed and which
1047 * don't.
1048 *
1049 * @param field The account field.
1050 *
1051 * @return The account filter function.
1052 */
1053 GaimFilterAccountFunc gaim_request_field_account_get_filter(
1027 const GaimRequestField *field); 1054 const GaimRequestField *field);
1028 1055
1029 /*@}*/ 1056 /*@}*/
1030 1057
1031 /**************************************************************************/ 1058 /**************************************************************************/

mercurial