Switch to unified view

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.3 2006-12-15 12:40:02 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: mh_text.h,v 1.4 2006-12-16 15:39:54 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"
...
...
32
 public:
32
 public:
33
    MimeHandlerText(const string& mt) : RecollFilter(mt) {}
33
    MimeHandlerText(const string& mt) : RecollFilter(mt) {}
34
    virtual ~MimeHandlerText() {}
34
    virtual ~MimeHandlerText() {}
35
    virtual bool set_document_file(const string &file_path);
35
    virtual bool set_document_file(const string &file_path);
36
    virtual bool set_document_string(const string&);
36
    virtual bool set_document_string(const string&);
37
    virtual bool is_data_input_ok(DataInput input) const {
38
  if (input == DOCUMENT_FILE_NAME || input == DOCUMENT_STRING)
39
      return true;
40
  return false;
41
    }
37
    virtual bool next_document();
42
    virtual bool next_document();
38
private:
43
private:
39
    string m_text;
44
    string m_text;
40
};
45
};
41
46