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