| 33 * @name GNT Request API |
33 * @name GNT Request API |
| 34 **********************************************************************/ |
34 **********************************************************************/ |
| 35 /*@{*/ |
35 /*@{*/ |
| 36 |
36 |
| 37 /** |
37 /** |
| |
38 * finch_request_get_ui_ops: |
| |
39 * |
| 38 * Get the ui-functions. |
40 * Get the ui-functions. |
| 39 * |
41 * |
| 40 * Returns: The PurpleRequestUiOps structure populated with the appropriate functions. |
42 * Returns: The PurpleRequestUiOps structure populated with the appropriate functions. |
| 41 */ |
43 */ |
| 42 PurpleRequestUiOps *finch_request_get_ui_ops(void); |
44 PurpleRequestUiOps *finch_request_get_ui_ops(void); |
| 43 |
45 |
| 44 /** |
46 /** |
| |
47 * finch_request_init: |
| |
48 * |
| 45 * Perform necessary initializations. |
49 * Perform necessary initializations. |
| 46 */ |
50 */ |
| 47 void finch_request_init(void); |
51 void finch_request_init(void); |
| 48 |
52 |
| 49 /** |
53 /** |
| |
54 * finch_request_uninit: |
| |
55 * |
| 50 * Perform necessary uninitializations. |
56 * Perform necessary uninitializations. |
| 51 */ |
57 */ |
| 52 void finch_request_uninit(void); |
58 void finch_request_uninit(void); |
| 53 |
59 |
| 54 /** |
60 /** |
| |
61 * finch_request_save_in_prefs: |
| |
62 * |
| 55 * Save the request fields in preferences where the id attribute of each field is the |
63 * Save the request fields in preferences where the id attribute of each field is the |
| 56 * id of a preference. |
64 * id of a preference. |
| 57 */ |
65 */ |
| 58 void finch_request_save_in_prefs(gpointer null, PurpleRequestFields *fields); |
66 void finch_request_save_in_prefs(gpointer null, PurpleRequestFields *fields); |
| 59 |
67 |
| 60 /** |
68 /** |
| |
69 * finch_request_field_get_widget: |
| |
70 * @field: The request field. |
| |
71 * |
| 61 * Create a widget field for a request-field. |
72 * Create a widget field for a request-field. |
| 62 * |
|
| 63 * @field: The request field. |
|
| 64 * |
73 * |
| 65 * Returns: A GntWidget for the request field. |
74 * Returns: A GntWidget for the request field. |
| 66 */ |
75 */ |
| 67 GntWidget *finch_request_field_get_widget(PurpleRequestField *field); |
76 GntWidget *finch_request_field_get_widget(PurpleRequestField *field); |
| |
77 |
| 68 /*@}*/ |
78 /*@}*/ |
| 69 |
79 |
| 70 #endif |
80 #endif |