aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.h')
-rwxr-xr-x[-rw-r--r--]src/log.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/log.h b/src/log.h
index 2ec4408..d1bb8db 100644..100755
--- a/src/log.h
+++ b/src/log.h
@@ -27,6 +27,16 @@
//#include "et_core.h"
+/*
+ * Types of errors
+ */
+typedef enum
+{
+ LOG_UNKNOWN = 0,
+ LOG_OK,
+ LOG_ERROR
+} Log_Error_Type;
+
/**************
* Prototypes *
@@ -36,7 +46,7 @@ GtkWidget *Create_Log_Area (void);
void Log_Clean_Log_List (void);
-void Log_Print (gchar const *format, ...);
+void Log_Print (Log_Error_Type error_type, gchar const *format, ...);
#endif /* __LOG_H__ */