summaryrefslogtreecommitdiff
path: root/src/ui/file_load_entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/file_load_entry.h')
-rw-r--r--src/ui/file_load_entry.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ui/file_load_entry.h b/src/ui/file_load_entry.h
index f24d3d5..dbcea62 100644
--- a/src/ui/file_load_entry.h
+++ b/src/ui/file_load_entry.h
@@ -47,9 +47,23 @@ typedef struct UI_FILE_LOAD_ENTRY_Handle
GtkButton *cancel_button;
} UI_FILE_LOAD_ENTRY_Handle;
+/**
+ * Allocates and creates a new file load entry
+ * handle to manage loading files for a given
+ * messenger application.
+ *
+ * @param app Messenger application
+ * @return New file load entry handle
+ */
UI_FILE_LOAD_ENTRY_Handle*
ui_file_load_entry_new(MESSENGER_Application *app);
+/**
+ * Frees its resources and destroys a given file
+ * load entry handle.
+ *
+ * @param handle File load entry handle
+ */
void
ui_file_load_entry_delete(UI_FILE_LOAD_ENTRY_Handle *handle);