summaryrefslogtreecommitdiffabout
path: root/kmicromail/defines.h
authorzautrix <zautrix>2004-07-03 16:33:12 (UTC)
committer zautrix <zautrix>2004-07-03 16:33:12 (UTC)
commite3b89230f065c48c84b48c88edb6eb088374c487 (patch) (side-by-side diff)
tree162ea2ef909a6f82ccfcedf45d80d6c821174912 /kmicromail/defines.h
parent2dd6ac0b2d24c91d35ce674a6c26351352df2b15 (diff)
downloadkdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.zip
kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.tar.gz
kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.tar.bz2
Initial revision
Diffstat (limited to 'kmicromail/defines.h') (more/less context) (ignore 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 @@
+#ifndef DEFINE_CONSTANTS_H
+#define DEFINE_CONSTANTS_H
+
+
+
+#define USER_AGENT "KMicroMail v1.92"
+
+#define PIXMAP_IMAPFOLDER SmallIcon ( "imapfolder" )
+#define PIXMAP_POP3FOLDER SmallIcon ( "pop3folder" )
+#define PIXMAP_INBOXFOLDER SmallIcon ( "inbox" )
+#define PIXMAP_MBOXFOLDER SmallIcon ( "mboxfolder" )
+#define PIXMAP_OUTBOXFOLDER SmallIcon ( "outbox" )
+#define PIXMAP_LOCALFOLDER SmallIcon ( "localfolder" )
+#define PIXMAP_OFFLINE SmallIcon ( "notconnected" )
+
+#define IMAP_PORT "143"
+#define IMAP_SSL_PORT "993"
+#define SMTP_PORT "25"
+#define SMTP_SSL_PORT "465"
+#define POP3_PORT "110"
+#define POP3_SSL_PORT "995"
+#define NNTP_PORT "119"
+#define NNTP_SSL_PORT "563"
+
+/* used for decoding imapfoldername */
+#define UNDEFINED 64
+#define MAXLINE 76
+#define UTF16MASK 0x03FFUL
+#define UTF16SHIFT 10
+#define UTF16BASE 0x10000UL
+#define UTF16HIGHSTART 0xD800UL
+#define UTF16HIGHEND 0xDBFFUL
+#define UTF16LOSTART 0xDC00UL
+#define UTF16LOEND 0xDFFFUL
+
+#endif