1 /***************************************************************************
2 filter_sylpheed.hxx - Sylpheed maildir mail import
5 copyright : (C) 2005 by Danny Kukawka
6 email : danny.kukawka@web.de
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
17 #ifndef FILTER_SYLPHEED_HXX
18 #define FILTER_SYLPHEED_HXX
22 #include "filters.hxx"
25 * Imports Sylpheed mail folder with maildir format recursively, recreating the folder structure.
26 * @author Danny Kukawka
28 class FilterSylpheed
: public Filter
33 ~FilterSylpheed(void);
35 void import(FilterInfo
*info
);
40 void importDirContents(FilterInfo
*, const QString
&);
41 void importFiles(FilterInfo
*, const QString
&);
43 void readMarkFile( FilterInfo
*, const QString
&, QHash
<QString
,unsigned long>&);
44 QString
msgFlagsToString(unsigned long);