summaryrefslogtreecommitdiff
path: root/noncore/net/mail/defines.h
authorharlekin <harlekin>2003-12-08 13:37:32 (UTC)
committer harlekin <harlekin>2003-12-08 13:37:32 (UTC)
commit3b37149813d940535b12ba3b1edd938c41804a1b (patch) (side-by-side diff)
tree0e35a3b28fb147514f22a6a6cb5aaf246e4c5670 /noncore/net/mail/defines.h
parent3d49fc2f7bba9c9e8856e5f4f7ec6c15ef84c252 (diff)
downloadopie-3b37149813d940535b12ba3b1edd938c41804a1b.zip
opie-3b37149813d940535b12ba3b1edd938c41804a1b.tar.gz
opie-3b37149813d940535b12ba3b1edd938c41804a1b.tar.bz2
beginning of the new mailer
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