1 #ifndef __ICQCOMMON_H__
2 #define __ICQCOMMON_H__
14 #include <sys/types.h>
28 #include "kkstrtext.h"
31 #include <sys/param.h>
34 #include <sys/statfs.h>
36 #include <sys/mount.h>
41 #define PERIOD_RECONNECT 40
46 #define _(s) ::gettext(s)
54 #ifdef __KTOOL_USE_NAMESPACES
55 #define __CENTERIM_USE_NAMESPACES
58 #ifdef __CENTERIM_USE_NAMESPACES
64 #define PERIOD_RESEND 20
65 #define PERIOD_CHECKMAIL 30
66 #define PERIOD_DISPUPDATE 2
67 #define PERIOD_AUTOSAVE 120
68 #define PERIOD_TYPING 6
70 #define PERIOD_ATONCE 5
75 * Several helper routines
85 #define ENUM_PLUSPLUS(tp) \
86 inline tp& operator ++(tp &p, int) { \
88 return p = static_cast<tp>(++t); \