Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/logprint.h @ 1783:af3de54ef986
Convert scr_LogPrint() to scr_log_print()
Add a #define for compatibility.
Same for scr_Write{Incoming,Outgoing}Message() functions.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 14 Mar 2010 12:48:21 +0100 |
parents | e4378fbab5d7 |
children | e6d355e50d7a |
comparison
equal
deleted
inserted
replaced
1782:97803c87d82d | 1783:af3de54ef986 |
---|---|
11 | 11 |
12 // For convenience... | 12 // For convenience... |
13 #define LPRINT_LOGNORM (LPRINT_NORMAL|LPRINT_LOG) | 13 #define LPRINT_LOGNORM (LPRINT_NORMAL|LPRINT_LOG) |
14 | 14 |
15 void scr_print_logwindow(const char *string); | 15 void scr_print_logwindow(const char *string); |
16 void scr_LogPrint(unsigned int flag, const char *fmt, ...) G_GNUC_PRINTF (2, 3); | 16 void scr_log_print(unsigned int flag, const char *fmt, ...) G_GNUC_PRINTF (2, 3); |
17 void scr_do_update(void); | |
17 | 18 |
18 void scr_do_update(void); | 19 // For backward compatibility: |
20 #define scr_LogPrint scr_log_print | |
19 | 21 |
20 #endif /* __MCABBER_LOGPRINT_H__ */ | 22 #endif /* __MCABBER_LOGPRINT_H__ */ |
21 | 23 |
22 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ | 24 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ |