diff options
Diffstat (limited to 'embed/find-dialog.h')
-rw-r--r-- | embed/find-dialog.h | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/embed/find-dialog.h b/embed/find-dialog.h index 325f8a7b7..c93a78303 100644 --- a/embed/find-dialog.h +++ b/embed/find-dialog.h @@ -37,6 +37,12 @@ typedef struct FindDialogClass FindDialogClass; typedef struct FindDialogPrivate FindDialogPrivate; +typedef enum +{ + FIND_CAN_GO_PREV = 1 << 0, + FIND_CAN_GO_NEXT = 1 << 1 +} FindNavigationFlags; + struct FindDialog { EphyEmbedDialog parent; @@ -50,23 +56,20 @@ struct FindDialogClass void (* search) (FindDialog *dialog); }; -GType find_dialog_get_type (void); - -EphyDialog *find_dialog_new (EphyEmbed *embed); - -EphyDialog *find_dialog_new_with_parent (GtkWidget *window, - EphyEmbed *embed); +GType find_dialog_get_type (void); +EphyDialog* find_dialog_new (EphyEmbed *embed); -gboolean find_dialog_can_go_next (FindDialog *dialog); +EphyDialog * find_dialog_new_with_parent (GtkWidget *window, + EphyEmbed *embed); -gboolean find_dialog_can_go_prev (FindDialog *dialog); +void find_dialog_go_next (FindDialog *dialog, + gboolean interactive); -void find_dialog_go_next (FindDialog *dialog, - gboolean interactive); +void find_dialog_go_prev (FindDialog *dialog, + gboolean interactive); -void find_dialog_go_prev (FindDialog *dialog, - gboolean interactive); +FindNavigationFlags find_dialog_get_navigation_flags (FindDialog *dialog); G_END_DECLS |