summaryrefslogtreecommitdiffstats
path: root/kmailcvt/filter_mailapp.h
blob: e562dbf7bc05f9e5701308299443258c92323d54 (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.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