equal
deleted
inserted
replaced
1 #ifndef __MCABBER_LOGPRINT_H__ |
1 #ifndef __MCABBER_LOGPRINT_H__ |
2 #define __MCABBER_LOGPRINT_H__ 1 |
2 #define __MCABBER_LOGPRINT_H__ 1 |
|
3 |
|
4 #include <glib.h> |
3 |
5 |
4 // Flags for scr_LogPrint() |
6 // Flags for scr_LogPrint() |
5 #define LPRINT_NORMAL 1U // Display in log window |
7 #define LPRINT_NORMAL 1U // Display in log window |
6 #define LPRINT_LOG 2U // Log to file (if enabled) |
8 #define LPRINT_LOG 2U // Log to file (if enabled) |
7 #define LPRINT_DEBUG 4U // Debug message (log if enabled) |
9 #define LPRINT_DEBUG 4U // Debug message (log if enabled) |
9 |
11 |
10 // For convenience... |
12 // For convenience... |
11 #define LPRINT_LOGNORM (LPRINT_NORMAL|LPRINT_LOG) |
13 #define LPRINT_LOGNORM (LPRINT_NORMAL|LPRINT_LOG) |
12 |
14 |
13 void scr_print_logwindow(const char *string); |
15 void scr_print_logwindow(const char *string); |
14 void scr_LogPrint(unsigned int flag, const char *fmt, ...); |
16 void scr_LogPrint(unsigned int flag, const char *fmt, ...) G_GNUC_PRINTF (2, 3); |
15 |
17 |
16 void scr_DoUpdate(void); |
18 void scr_DoUpdate(void); |
17 |
19 |
18 #endif /* __MCABBER_LOGPRINT_H__ */ |
20 #endif /* __MCABBER_LOGPRINT_H__ */ |
19 |
21 |