3 * Finch is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
22 #ifndef _GNT_REQUEST_H
23 #define _GNT_REQUEST_H
26 * @section_id: finch-gntrequest
27 * @short_description: <filename>gntrequest.h</filename>
34 /**********************************************************************
36 **********************************************************************/
39 * finch_request_get_ui_ops:
41 * Get the ui-functions.
43 * Returns: The PurpleRequestUiOps structure populated with the appropriate functions.
45 PurpleRequestUiOps
*finch_request_get_ui_ops(void);
50 * Perform necessary initializations.
52 void finch_request_init(void);
55 * finch_request_uninit:
57 * Perform necessary uninitializations.
59 void finch_request_uninit(void);
62 * finch_request_save_in_prefs:
64 * Save the request fields in preferences where the id attribute of each field is the
67 void finch_request_save_in_prefs(gpointer null
, PurpleRequestFields
*fields
);
70 * finch_request_field_get_widget:
71 * @field: The request field.
73 * Create a widget field for a request-field.
75 * Returns: (transfer full): A GntWidget for the request field.
77 GntWidget
*finch_request_field_get_widget(PurpleRequestField
*field
);