summaryrefslogtreecommitdiffstats
path: root/kmailcvt/filter_mailapp.hxx
blob: 571f77ff06a87fd654f684f1deb3ac4668f59d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/***************************************************************************
                          filter_mailapp.hxx  -  OS X Mail App import
                             -------------------
    copyright            : (C) 2004 by Chris Howells
    email                : [email protected]
 
    Derived from code by:
    copyright            : (C) 2003 by Laurence Anderson
    email                : [email protected]
 
 ***************************************************************************/

#ifndef FILTER_MAILAPP_HXX
#define FILTER_MAILAPP_HXX

#include "filters.hxx"

/**
 *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