aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-creation-dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-folder-creation-dialog.h')
-rw-r--r--shell/e-shell-folder-creation-dialog.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/shell/e-shell-folder-creation-dialog.h b/shell/e-shell-folder-creation-dialog.h
index ac7518f986..63b6b1179a 100644
--- a/shell/e-shell-folder-creation-dialog.h
+++ b/shell/e-shell-folder-creation-dialog.h
@@ -28,8 +28,22 @@
#include "e-shell.h"
-void e_shell_show_folder_creation_dialog (EShell *shell,
- GtkWindow *parent,
- const char *default_parent_folder);
+enum _EShellFolderCreationDialogResult {
+ E_SHELL_FOLDER_CREATION_DIALOG_RESULT_SUCCESS,
+ E_SHELL_FOLDER_CREATION_DIALOG_RESULT_FAIL,
+ E_SHELL_FOLDER_CREATION_DIALOG_RESULT_CANCEL
+};
+typedef enum _EShellFolderCreationDialogResult EShellFolderCreationDialogResult;
+
+typedef void (* EShellFolderCreationDialogCallback) (EShell *shell,
+ EShellFolderCreationDialogResult result,
+ const char *path,
+ void *data);
+
+void e_shell_show_folder_creation_dialog (EShell *shell,
+ GtkWindow *parent,
+ const char *default_parent_folder,
+ EShellFolderCreationDialogCallback result_callback,
+ void *result_callback_data);
#endif /* E_SHELL_FOLDER_CREATION_DIALOG_H */