diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-02-20 12:38:37 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-02-20 12:38:37 +0000 |
commit | c99b0c2ac706eb44a9b29d1b10ced47bd540adb6 (patch) | |
tree | b38c9f28e8803074c5586b8e36fdfa847c22760b /common/gmountsource.h | |
parent | ccde4823cbe6c5aa5bb530fed0aaf3ac37cd19a0 (diff) | |
download | gvfs-c99b0c2ac706eb44a9b29d1b10ced47bd540adb6.tar.gz |
Add ask_question support
2008-02-20 Alexander Larsson <alexl@redhat.com>
* common/gmountsource.[ch]:
Add ask_question support
* daemon/gvfsbackendsftp.c:
Handle host identity changed messages (#517460)
Patch from Carlos Garcia Campos
svn path=/trunk/; revision=1308
Diffstat (limited to 'common/gmountsource.h')
-rw-r--r-- | common/gmountsource.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/common/gmountsource.h b/common/gmountsource.h index 540af899..676595ff 100644 --- a/common/gmountsource.h +++ b/common/gmountsource.h @@ -83,6 +83,25 @@ gboolean g_mount_source_ask_password_finish (GMountSource char **domain_out, GPasswordSave *password_save_out); +gboolean g_mount_source_ask_question (GMountSource *mount_source, + const char *message, + const char **choices, + gint n_choices, + gboolean *aborted, + gint *choice_out); + +void g_mount_source_ask_question_async (GMountSource *mount_source, + const char *message, + const char **choices, + gint n_choices, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean g_mount_source_ask_question_finish (GMountSource *source, + GAsyncResult *result, + gboolean *aborted, + gint *choice_out); + const char * g_mount_source_get_dbus_id (GMountSource *mount_source); const char * g_mount_source_get_obj_path (GMountSource *mount_source); |