12 #ifndef __SIMPLE_DIALOG_UI_H__ 13 #define __SIMPLE_DIALOG_UI_H__ 37 #define ESD_BTN_NONE 0x00 39 #define ESD_BTN_OK 0x01 41 #define ESD_BTN_CANCEL 0x02 43 #define ESD_BTN_YES 0x04 45 #define ESD_BTN_NO 0x08 47 #define ESD_BTN_CLEAR 0x10 49 #define ESD_BTN_SAVE 0x20 51 #define ESD_BTN_DONT_SAVE 0x40 53 #define ESD_BTN_QUIT_DONT_SAVE 0x80 56 #define ESD_BTNS_OK_CANCEL (ESD_BTN_OK|ESD_BTN_CANCEL) 58 #define ESD_BTNS_YES_NO (ESD_BTN_YES|ESD_BTN_NO) 60 #define ESD_BTNS_YES_NO_CANCEL (ESD_BTN_YES|ESD_BTN_NO|ESD_BTN_CANCEL) 62 #define ESD_BTNS_SAVE_DONTSAVE (ESD_BTN_SAVE|ESD_BTN_DONT_SAVE) 63 #define ESD_BTNS_SAVE_DONTSAVE_CANCEL (ESD_BTN_DONT_SAVE|ESD_BTN_CANCEL|ESD_BTN_SAVE) 65 #define ESD_BTNS_SAVE_QUIT_DONTSAVE_CANCEL (ESD_BTN_QUIT_DONT_SAVE|ESD_BTN_CANCEL|ESD_BTN_SAVE) 67 #define ESD_BTNS_QUIT_DONTSAVE_CANCEL (ESD_BTN_QUIT_DONT_SAVE|ESD_BTN_CANCEL) 96 const gchar *msg_format, ...)
120 extern
void simple_message_box(ESD_TYPE_E type, gboolean *notagain,
121 const
char *secondary_msg,
122 const
char *msg_format, ...) G_GNUC_PRINTF(4, 5);
127 extern
void vsimple_error_message_box(const
char *msg_format, va_list ap);
132 extern
void simple_error_message_box(const
char *msg_format, ...) G_GNUC_PRINTF(1, 2);
137 extern
void vsimple_warning_message_box(const
char *msg_format, va_list ap);
Definition: simple_dialog.h:33
gpointer simple_dialog(ESD_TYPE_E type, gint btn_mask, const gchar *msg_format,...) G_GNUC_PRINTF(3
Definition: simple_dialog.h:30
Definition: simple_dialog.h:27
gpointer const char * simple_dialog_primary_start(void)
Definition: simple_dialog.cpp:48
Definition: simple_dialog.h:29
char * simple_dialog_format_message(const char *msg)
Definition: simple_dialog.cpp:58
ESD_TYPE_E
Definition: simple_dialog.h:26
const char * simple_dialog_primary_end(void)
Definition: simple_dialog.cpp:53
Definition: simple_dialog.h:32