|
a/src/internfile/mh_text.h |
|
b/src/internfile/mh_text.h |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _MH_TEXT_H_INCLUDED_
|
17 |
#ifndef _MH_TEXT_H_INCLUDED_
|
18 |
#define _MH_TEXT_H_INCLUDED_
|
18 |
#define _MH_TEXT_H_INCLUDED_
|
19 |
/* @(#$Id: mh_text.h,v 1.4 2006-12-16 15:39:54 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: mh_text.h,v 1.5 2008-10-04 14:26:59 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
|
20 |
|
21 |
#include <string>
|
21 |
#include <string>
|
22 |
using std::string;
|
22 |
using std::string;
|
23 |
|
23 |
|
24 |
#include "mimehandler.h"
|
24 |
#include "mimehandler.h"
|
|
... |
|
... |
38 |
if (input == DOCUMENT_FILE_NAME || input == DOCUMENT_STRING)
|
38 |
if (input == DOCUMENT_FILE_NAME || input == DOCUMENT_STRING)
|
39 |
return true;
|
39 |
return true;
|
40 |
return false;
|
40 |
return false;
|
41 |
}
|
41 |
}
|
42 |
virtual bool next_document();
|
42 |
virtual bool next_document();
|
|
|
43 |
virtual void clear()
|
|
|
44 |
{
|
|
|
45 |
m_text.erase();
|
|
|
46 |
RecollFilter::clear();
|
|
|
47 |
}
|
43 |
private:
|
48 |
private:
|
44 |
string m_text;
|
49 |
string m_text;
|
45 |
};
|
50 |
};
|
46 |
|
51 |
|
47 |
#endif /* _MH_TEXT_H_INCLUDED_ */
|
52 |
#endif /* _MH_TEXT_H_INCLUDED_ */
|