|
a/src/internfile/mh_mail.h |
|
b/src/internfile/mh_mail.h |
|
... |
|
... |
37 |
* for maildir files). This has to keep state while parsing a mail folder
|
37 |
* for maildir files). This has to keep state while parsing a mail folder
|
38 |
* file.
|
38 |
* file.
|
39 |
*/
|
39 |
*/
|
40 |
class MimeHandlerMail : public RecollFilter {
|
40 |
class MimeHandlerMail : public RecollFilter {
|
41 |
public:
|
41 |
public:
|
42 |
MimeHandlerMail(RclConfig *cnf, const string &mt);
|
42 |
MimeHandlerMail(RclConfig *cnf, const string &id);
|
43 |
virtual ~MimeHandlerMail();
|
43 |
virtual ~MimeHandlerMail();
|
44 |
virtual bool set_document_file(const string& file_path);
|
44 |
virtual bool set_document_file(const string& mt, const string& file_path);
|
45 |
virtual bool set_document_string(const string& data);
|
45 |
virtual bool set_document_string(const string& mt, const string& data);
|
46 |
virtual bool is_data_input_ok(DataInput input) const {
|
46 |
virtual bool is_data_input_ok(DataInput input) const {
|
47 |
if (input == DOCUMENT_FILE_NAME || input == DOCUMENT_STRING)
|
47 |
if (input == DOCUMENT_FILE_NAME || input == DOCUMENT_STRING)
|
48 |
return true;
|
48 |
return true;
|
49 |
return false;
|
49 |
return false;
|
50 |
}
|
50 |
}
|