summaryrefslogtreecommitdiffstats
path: root/kmailcvt/filter_mailapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmailcvt/filter_mailapp.h')
-rw-r--r--kmailcvt/filter_mailapp.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/kmailcvt/filter_mailapp.h b/kmailcvt/filter_mailapp.h
new file mode 100644
index 00000000..e562dbf7
--- /dev/null
+++ b/kmailcvt/filter_mailapp.h
@@ -0,0 +1,36 @@
+/***************************************************************************
+ filter_mailapp.h - OS X Mail App import
+ -------------------
+ copyright : (C) 2004 by Chris Howells
+ email : howells@kde.org
+
+ Derived from code by:
+ copyright : (C) 2003 by Laurence Anderson
+ email : l.d.anderson@warwick.ac.uk
+
+ ***************************************************************************/
+
+#ifndef FILTER_MAILAPP_H
+#define FILTER_MAILAPP_H
+
+#include "filters.h"
+
+/**
+ *imports mbox archives messages into KMail
+ *@author Chris Howells
+ */
+
+class FilterMailApp : public Filter
+{
+public:
+ FilterMailApp();
+ ~FilterMailApp();
+
+ void import(FilterInfo *info);
+
+private:
+ TQStringList mMboxFiles;
+ void traverseDirectory(FilterInfo *info, const TQString &);
+};
+
+#endif