author | zautrix <zautrix> | 2004-07-03 16:33:12 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-03 16:33:12 (UTC) |
commit | e3b89230f065c48c84b48c88edb6eb088374c487 (patch) (unidiff) | |
tree | 162ea2ef909a6f82ccfcedf45d80d6c821174912 /kmicromail/defines.h | |
parent | 2dd6ac0b2d24c91d35ce674a6c26351352df2b15 (diff) | |
download | kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.zip kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.tar.gz kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.tar.bz2 |
Initial revision
-rw-r--r-- | kmicromail/defines.h | 36 |
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 | ||