aboutsummaryrefslogtreecommitdiff
path: root/src/ui/send_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/send_file.h')
-rw-r--r--src/ui/send_file.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ui/send_file.h b/src/ui/send_file.h
index 138426a..a4cad4f 100644
--- a/src/ui/send_file.h
+++ b/src/ui/send_file.h
@@ -49,14 +49,35 @@ typedef struct UI_SEND_FILE_Handle
49 guint redraw_animation; 49 guint redraw_animation;
50} UI_SEND_FILE_Handle; 50} UI_SEND_FILE_Handle;
51 51
52/**
53 * Initializes a handle for the send file dialog
54 * of a given messenger application.
55 *
56 * @param app Messenger application
57 * @param handle Send file dialog handle
58 */
52void 59void
53ui_send_file_dialog_init(MESSENGER_Application *app, 60ui_send_file_dialog_init(MESSENGER_Application *app,
54 UI_SEND_FILE_Handle *handle); 61 UI_SEND_FILE_Handle *handle);
55 62
63/**
64 * Updates a given send file dialog handle with
65 * a certain filename to pre-determine which file
66 * gets selected by the dialog as default.
67 *
68 * @param handle Send file dialog handle
69 * @param filename Custom filename
70 */
56void 71void
57ui_send_file_dialog_update(UI_SEND_FILE_Handle *handle, 72ui_send_file_dialog_update(UI_SEND_FILE_Handle *handle,
58 const gchar *filename); 73 const gchar *filename);
59 74
75/**
76 * Cleans up the allocated resources and resets the
77 * state of a given send file dialog handle.
78 *
79 * @param handle Send file dialog handle
80 */
60void 81void
61ui_send_file_dialog_cleanup(UI_SEND_FILE_Handle *handle); 82ui_send_file_dialog_cleanup(UI_SEND_FILE_Handle *handle);
62 83