aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-select-file.h
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer-select-file.h')
-rw-r--r--composer/e-msg-composer-select-file.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/composer/e-msg-composer-select-file.h b/composer/e-msg-composer-select-file.h
index 6a6ad886df..76535b9d91 100644
--- a/composer/e-msg-composer-select-file.h
+++ b/composer/e-msg-composer-select-file.h
@@ -24,13 +24,13 @@
#ifndef E_MSG_COMPOSER_SELECT_FILE_H
#define E_MSG_COMPOSER_SELECT_FILE_H
-#include "e-msg-composer.h"
-char *e_msg_composer_select_file (EMsgComposer *composer,
- const char *title,
- gboolean save_mode);
+struct _EMsgComposer;
-GPtrArray *e_msg_composer_select_file_attachments (EMsgComposer *composer,
- gboolean *inline_p);
+typedef void (*EMsgComposerSelectFileFunc)(struct _EMsgComposer *composer, const char *filename);
+typedef void (*EMsgComposerSelectAttachFunc)(struct _EMsgComposer *composer, GSList *names, int inline);
+
+void e_msg_composer_select_file(struct _EMsgComposer *composer, GtkWidget **w, EMsgComposerSelectFileFunc func, const char *title, int save);
+void e_msg_composer_select_file_attachments(struct _EMsgComposer *composer, GtkWidget **, EMsgComposerSelectAttachFunc func);
#endif /* E_MSG_COMPOSER_SELECT_FILE_H */