summaryrefslogtreecommitdiff
path: root/src/zenity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenity.h')
-rw-r--r--src/zenity.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/zenity.h b/src/zenity.h
index e96f528..97ecee1 100644
--- a/src/zenity.h
+++ b/src/zenity.h
@@ -31,6 +31,14 @@ typedef struct {
gint exit_code;
} ZenityData;
+typedef enum {
+ ZENITY_OK,
+ ZENITY_CANCEL,
+ ZENITY_ESC,
+ ZENITY_ERROR,
+ ZENITY_EXTRA
+} ZenityExitCode;
+
typedef struct {
gchar *dialog_text;
gint day;