summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/mail/accountview.cpp1
-rw-r--r--noncore/net/mail/accountview.h2
-rw-r--r--noncore/net/mail/imapwrapper.cpp2
-rw-r--r--noncore/net/mail/imapwrapper.h25
-rw-r--r--noncore/net/mail/libmailwrapper/imapwrapper.cpp2
-rw-r--r--noncore/net/mail/libmailwrapper/imapwrapper.h25
-rw-r--r--noncore/net/mail/libmailwrapper/mailwrapper.h19
-rw-r--r--noncore/net/mail/mail.pro3
-rw-r--r--noncore/net/mail/mailwrapper.h19
9 files changed, 57 insertions, 41 deletions
diff --git a/noncore/net/mail/accountview.cpp b/noncore/net/mail/accountview.cpp
index c6a44ab..a531976 100644
--- a/noncore/net/mail/accountview.cpp
+++ b/noncore/net/mail/accountview.cpp
@@ -1,2 +1,3 @@
#include "accountview.h"
+#include "imapwrapper.h"
#include "defines.h"
diff --git a/noncore/net/mail/accountview.h b/noncore/net/mail/accountview.h
index 14d8efa..2bc8023 100644
--- a/noncore/net/mail/accountview.h
+++ b/noncore/net/mail/accountview.h
@@ -8,2 +8,4 @@
+class IMAPwrapper;
+
class AccountViewItem : public QListViewItem
diff --git a/noncore/net/mail/imapwrapper.cpp b/noncore/net/mail/imapwrapper.cpp
index fc12947..7b78499 100644
--- a/noncore/net/mail/imapwrapper.cpp
+++ b/noncore/net/mail/imapwrapper.cpp
@@ -3,3 +3,3 @@
-#include "mailwrapper.h"
+#include "imapwrapper.h"
diff --git a/noncore/net/mail/imapwrapper.h b/noncore/net/mail/imapwrapper.h
new file mode 100644
index 0000000..65c36e0
--- a/dev/null
+++ b/noncore/net/mail/imapwrapper.h
@@ -0,0 +1,25 @@
+#ifndef __IMAPWRAPPER
+#define __IMAPWRAPPER
+
+#include "mailwrapper.h"
+#include <libetpan/mailimap.h>
+
+class IMAPwrapper : public QObject
+{
+ Q_OBJECT
+
+public:
+ IMAPwrapper( IMAPaccount *a );
+ QList<IMAPFolder>* listFolders();
+ void listMessages(const QString & mailbox,Maillist&target );
+ QString fetchBody(const QString & mailbox,const RecMail&mail);
+
+protected:
+ RecMail*parse_list_result(mailimap_msg_att*);
+
+private:
+ IMAPaccount *account;
+
+};
+
+#endif
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.cpp b/noncore/net/mail/libmailwrapper/imapwrapper.cpp
index fc12947..7b78499 100644
--- a/noncore/net/mail/libmailwrapper/imapwrapper.cpp
+++ b/noncore/net/mail/libmailwrapper/imapwrapper.cpp
@@ -3,3 +3,3 @@
-#include "mailwrapper.h"
+#include "imapwrapper.h"
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.h b/noncore/net/mail/libmailwrapper/imapwrapper.h
new file mode 100644
index 0000000..65c36e0
--- a/dev/null
+++ b/noncore/net/mail/libmailwrapper/imapwrapper.h
@@ -0,0 +1,25 @@
+#ifndef __IMAPWRAPPER
+#define __IMAPWRAPPER
+
+#include "mailwrapper.h"
+#include <libetpan/mailimap.h>
+
+class IMAPwrapper : public QObject
+{
+ Q_OBJECT
+
+public:
+ IMAPwrapper( IMAPaccount *a );
+ QList<IMAPFolder>* listFolders();
+ void listMessages(const QString & mailbox,Maillist&target );
+ QString fetchBody(const QString & mailbox,const RecMail&mail);
+
+protected:
+ RecMail*parse_list_result(mailimap_msg_att*);
+
+private:
+ IMAPaccount *account;
+
+};
+
+#endif
diff --git a/noncore/net/mail/libmailwrapper/mailwrapper.h b/noncore/net/mail/libmailwrapper/mailwrapper.h
index f45eab7..955a8e2 100644
--- a/noncore/net/mail/libmailwrapper/mailwrapper.h
+++ b/noncore/net/mail/libmailwrapper/mailwrapper.h
@@ -8,3 +8,2 @@
#include <libetpan/mailsmtp.h>
-#include <libetpan/mailimap.h>
#include <libetpan/mailstorage.h>
@@ -164,20 +163,2 @@ private:
-class IMAPwrapper : public QObject
-{
- Q_OBJECT
-
-public:
- IMAPwrapper( IMAPaccount *a );
- QList<IMAPFolder>* listFolders();
- void listMessages(const QString & mailbox,Maillist&target );
- QString fetchBody(const QString & mailbox,const RecMail&mail);
-
-protected:
- RecMail*parse_list_result(mailimap_msg_att*);
-
-private:
- IMAPaccount *account;
-
-};
-
#endif
diff --git a/noncore/net/mail/mail.pro b/noncore/net/mail/mail.pro
index 46a476d..2142cdc 100644
--- a/noncore/net/mail/mail.pro
+++ b/noncore/net/mail/mail.pro
@@ -10,3 +10,4 @@ HEADERS = defines.h \
mainwindow.h \
- opiemail.h
+ opiemail.h \
+ imapwrapper.h
diff --git a/noncore/net/mail/mailwrapper.h b/noncore/net/mail/mailwrapper.h
index f45eab7..955a8e2 100644
--- a/noncore/net/mail/mailwrapper.h
+++ b/noncore/net/mail/mailwrapper.h
@@ -8,3 +8,2 @@
#include <libetpan/mailsmtp.h>
-#include <libetpan/mailimap.h>
#include <libetpan/mailstorage.h>
@@ -164,20 +163,2 @@ private:
-class IMAPwrapper : public QObject
-{
- Q_OBJECT
-
-public:
- IMAPwrapper( IMAPaccount *a );
- QList<IMAPFolder>* listFolders();
- void listMessages(const QString & mailbox,Maillist&target );
- QString fetchBody(const QString & mailbox,const RecMail&mail);
-
-protected:
- RecMail*parse_list_result(mailimap_msg_att*);
-
-private:
- IMAPaccount *account;
-
-};
-
#endif