|
a/src/internfile/mh_mbox.h |
|
b/src/internfile/mh_mbox.h |
|
... |
|
... |
29 |
* for maildir files). This has to keep state while parsing a mail folder
|
29 |
* for maildir files). This has to keep state while parsing a mail folder
|
30 |
* file.
|
30 |
* file.
|
31 |
*/
|
31 |
*/
|
32 |
class MimeHandlerMbox : public RecollFilter {
|
32 |
class MimeHandlerMbox : public RecollFilter {
|
33 |
public:
|
33 |
public:
|
34 |
MimeHandlerMbox(RclConfig *cnf, const string& mime)
|
34 |
MimeHandlerMbox(RclConfig *cnf, const string& id)
|
35 |
: RecollFilter(cnf, mime), m_vfp(0), m_msgnum(0),
|
35 |
: RecollFilter(cnf, id), m_vfp(0), m_msgnum(0),
|
36 |
m_lineno(0), m_fsize(0)
|
36 |
m_lineno(0), m_fsize(0)
|
37 |
{}
|
37 |
{}
|
38 |
virtual ~MimeHandlerMbox();
|
38 |
virtual ~MimeHandlerMbox();
|
39 |
virtual bool set_document_file(const string &file_path);
|
39 |
virtual bool set_document_file(const string& mt, const string &file_path);
|
40 |
virtual bool next_document();
|
40 |
virtual bool next_document();
|
41 |
virtual bool skip_to_document(const string& ipath) {
|
41 |
virtual bool skip_to_document(const string& ipath) {
|
42 |
m_ipath = ipath;
|
42 |
m_ipath = ipath;
|
43 |
return true;
|
43 |
return true;
|
44 |
}
|
44 |
}
|