summaryrefslogtreecommitdiffabout
path: root/kmicromail/defines.h
Unidiff
Diffstat (limited to 'kmicromail/defines.h') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/defines.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/kmicromail/defines.h b/kmicromail/defines.h
new file mode 100644
index 0000000..f2d7265
--- a/dev/null
+++ b/kmicromail/defines.h
@@ -0,0 +1,36 @@
1#ifndef DEFINE_CONSTANTS_H
2#define DEFINE_CONSTANTS_H
3
4
5
6#define USER_AGENT "KMicroMail v1.92"
7
8#define PIXMAP_IMAPFOLDER SmallIcon ( "imapfolder" )
9#define PIXMAP_POP3FOLDER SmallIcon ( "pop3folder" )
10#define PIXMAP_INBOXFOLDER SmallIcon ( "inbox" )
11#define PIXMAP_MBOXFOLDER SmallIcon ( "mboxfolder" )
12#define PIXMAP_OUTBOXFOLDER SmallIcon ( "outbox" )
13#define PIXMAP_LOCALFOLDER SmallIcon ( "localfolder" )
14#define PIXMAP_OFFLINE SmallIcon ( "notconnected" )
15
16#define IMAP_PORT "143"
17#define IMAP_SSL_PORT "993"
18#define SMTP_PORT "25"
19#define SMTP_SSL_PORT "465"
20#define POP3_PORT "110"
21#define POP3_SSL_PORT "995"
22#define NNTP_PORT "119"
23#define NNTP_SSL_PORT "563"
24
25/* used for decoding imapfoldername */
26#define UNDEFINED 64
27#define MAXLINE 76
28#define UTF16MASK 0x03FFUL
29#define UTF16SHIFT 10
30#define UTF16BASE 0x10000UL
31#define UTF16HIGHSTART 0xD800UL
32#define UTF16HIGHEND 0xDBFFUL
33#define UTF16LOSTART 0xDC00UL
34#define UTF16LOEND 0xDFFFUL
35
36#endif