Specialize alertpanel icons
[claws.git] / src / alertpanel.h
index 01fbcc50136f3e71ad9771e3047de1835fafecca..fc0b05755eac52554b6b48af05295d97d83201f5 100644 (file)
@@ -33,6 +33,13 @@ typedef enum
        G_ALERTDISABLE  = 1 << 16
 } AlertValue;
 
+typedef enum
+{
+       ALERT_NOTICE,
+       ALERT_QUESTION,
+       ALERT_WARNING,
+       ALERT_ERROR
+} AlertType;
 #define G_ALERT_VALUE_MASK     0x0000ffff
 
 AlertValue alertpanel  (const gchar    *title,
@@ -48,11 +55,9 @@ AlertValue alertpanel_with_widget    (const gchar *title,
                                         const gchar *button3_label,
                                         GtkWidget *widget);
 
-void alertpanel_message        (const gchar    *title,
-                        const gchar    *message);
-
 AlertValue alertpanel_message_with_disable     (const gchar    *title,
-                                                const gchar    *message);
+                                                const gchar    *message,
+                                                gint            alert_type);
 
 void alertpanel_notice (const gchar    *format,
                         ...) G_GNUC_PRINTF(1, 2);
@@ -60,5 +65,7 @@ void alertpanel_warning       (const gchar    *format,
                         ...) G_GNUC_PRINTF(1, 2);
 void alertpanel_error  (const gchar    *format,
                         ...) G_GNUC_PRINTF(1, 2);
+void alertpanel_error_log(const gchar  *format,
+                         ...) G_GNUC_PRINTF(1, 2);
 
 #endif /* __ALERTPANEL_H__ */