summaryrefslogtreecommitdiff
path: root/noncore/net/mail/defines.h
Side-by-side diff
Diffstat (limited to 'noncore/net/mail/defines.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/defines.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/noncore/net/mail/defines.h b/noncore/net/mail/defines.h
new file mode 100644
index 0000000..853454d
--- a/dev/null
+++ b/noncore/net/mail/defines.h
@@ -0,0 +1,36 @@
+#ifndef DEFINE_CONSTANTS_H
+#define DEFINE_CONSTANTS_H
+
+#include <qpe/resource.h>
+
+#define USER_AGENT "OpieMail v0.0.1-alpha"
+
+#define PIC_COMPOSEMAIL "opiemail/composemail"
+#define PIC_SENDQUEUED "opiemail/sendqueued"
+#define PIC_SHOWFOLDERS "opiemail/showfolders"
+#define PIC_SEARCHMAILS "opiemail/searchmails"
+#define PIC_EDITSETTINGS "opiemail/editsettings"
+#define PIC_EDITACCOUNTS "opiemail/editaccounts"
+#define PIC_SYNC "opiemail/sync"
+#define PIC_IMAPFOLDER "opiemail/imapfolder"
+
+#define ICON_COMPOSEMAIL QIconSet( Resource::loadPixmap( PIC_COMPOSEMAIL ) )
+#define ICON_SENDQUEUED QIconSet( Resource::loadPixmap( PIC_SENDQUEUED ) )
+#define ICON_SHOWFOLDERS QIconSet( Resource::loadPixmap( PIC_SHOWFOLDERS ) )
+#define ICON_SEARCHMAILS QIconSet( Resource::loadPixmap( PIC_SEARCHMAILS ) )
+#define ICON_EDITSETTINGS QIconSet( Resource::loadPixmap( PIC_EDITSETTINGS ) )
+#define ICON_EDITACCOUNTS QIconSet( Resource::loadPixmap( PIC_EDITACCOUNTS ) )
+#define ICON_SYNC QIconSet( Resource::loadPixmap( PIC_SYNC ) )
+
+#define PIXMAP_IMAPFOLDER QPixmap( Resource::loadPixmap( PIC_IMAPFOLDER ) )
+
+#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"
+
+#endif