X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog.h;h=527e8b0d05110cfacf70e77ec99b9b7e057601d5;hb=531de52e961c7feaa6f5e86f1de36afa69ab1fab;hp=3b01557ec7ebe05303185cbd3b4ee9f04e291f1e;hpb=f00405e1ee47e1bf52ee1a37bae28e383a27c204;p=pspp diff --git a/src/ui/gui/psppire-dialog.h b/src/ui/gui/psppire-dialog.h index 3b01557ec7..527e8b0d05 100644 --- a/src/ui/gui/psppire-dialog.h +++ b/src/ui/gui/psppire-dialog.h @@ -63,8 +63,13 @@ struct _PsppireDialog ContentsAreValid contents_are_valid; gpointer validity_data; + ContentsAreValid contents_are_acceptable; + gpointer acceptable_data; gboolean slidable; PsppireOrientation orientation; + + gchar *help_page; + }; struct _PsppireDialogClass @@ -82,6 +87,10 @@ gint psppire_dialog_run (PsppireDialog *); void psppire_dialog_set_valid_predicate (PsppireDialog *, ContentsAreValid, gpointer ); +void psppire_dialog_set_accept_predicate (PsppireDialog *, + ContentsAreValid, + gpointer ); +gboolean psppire_dialog_is_acceptable (const PsppireDialog *); void psppire_dialog_notify_change (PsppireDialog *);