| 40 */ |
40 */ |
| 41 void finch_xfer_dialog_new(void); |
41 void finch_xfer_dialog_new(void); |
| 42 |
42 |
| 43 /** |
43 /** |
| 44 * Destroys a file transfer dialog. |
44 * Destroys a file transfer dialog. |
| 45 * |
|
| 46 * @param dialog The file transfer dialog. |
|
| 47 */ |
45 */ |
| 48 void finch_xfer_dialog_destroy(void); |
46 void finch_xfer_dialog_destroy(void); |
| 49 |
47 |
| 50 /** |
48 /** |
| 51 * Displays the file transfer dialog given. |
49 * Displays the file transfer dialog given. |
| 52 * If dialog is @c NULL, displays the default dialog, creating one if necessary |
50 * If dialog is @c NULL, displays the default dialog, creating one if necessary |
| 53 * |
|
| 54 * @param dialog The file transfer dialog to show. |
|
| 55 */ |
51 */ |
| 56 void finch_xfer_dialog_show(void); |
52 void finch_xfer_dialog_show(void); |
| 57 |
53 |
| 58 /** |
54 /** |
| 59 * Hides the file transfer dialog. |
55 * Hides the file transfer dialog. |
| 60 * |
|
| 61 * @param dialog The file transfer dialog to hide. |
|
| 62 */ |
56 */ |
| 63 void finch_xfer_dialog_hide(); |
57 void finch_xfer_dialog_hide(); |
| 64 |
58 |
| 65 /** |
59 /** |
| 66 * Adds a file transfer to the dialog. |
60 * Adds a file transfer to the dialog. |
| 67 * |
61 * |
| 68 * @param dialog The file transfer dialog. |
|
| 69 * @param xfer The file transfer. |
62 * @param xfer The file transfer. |
| 70 */ |
63 */ |
| 71 void finch_xfer_dialog_add_xfer(PurpleXfer *xfer); |
64 void finch_xfer_dialog_add_xfer(PurpleXfer *xfer); |
| 72 |
65 |
| 73 /** |
66 /** |
| 74 * Removes a file transfer from the dialog. |
67 * Removes a file transfer from the dialog. |
| 75 * |
68 * |
| 76 * @param dialog The file transfer dialog. |
|
| 77 * @param xfer The file transfer. |
69 * @param xfer The file transfer. |
| 78 */ |
70 */ |
| 79 void finch_xfer_dialog_remove_xfer(PurpleXfer *xfer); |
71 void finch_xfer_dialog_remove_xfer(PurpleXfer *xfer); |
| 80 |
72 |
| 81 /** |
73 /** |
| 82 * Indicate in a file transfer dialog that a transfer was canceled. |
74 * Indicate in a file transfer dialog that a transfer was canceled. |
| 83 * |
75 * |
| 84 * @param dialog The file transfer dialog. |
|
| 85 * @param xfer The file transfer that was canceled. |
76 * @param xfer The file transfer that was canceled. |
| 86 */ |
77 */ |
| 87 void finch_xfer_dialog_cancel_xfer(PurpleXfer *xfer); |
78 void finch_xfer_dialog_cancel_xfer(PurpleXfer *xfer); |
| 88 |
79 |
| 89 /** |
80 /** |
| 90 * Updates the information for a transfer in the dialog. |
81 * Updates the information for a transfer in the dialog. |
| 91 * |
82 * |
| 92 * @param dialog The file transfer dialog. |
|
| 93 * @param xfer The file transfer. |
83 * @param xfer The file transfer. |
| 94 */ |
84 */ |
| 95 void finch_xfer_dialog_update_xfer(PurpleXfer *xfer); |
85 void finch_xfer_dialog_update_xfer(PurpleXfer *xfer); |
| 96 |
86 |
| 97 /*@}*/ |
87 /*@}*/ |