Switch to unified view

a/src/internfile/mh_html.h b/src/internfile/mh_html.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 _HTML_H_INCLUDED_
17
#ifndef _HTML_H_INCLUDED_
18
#define _HTML_H_INCLUDED_
18
#define _HTML_H_INCLUDED_
19
/* @(#$Id: mh_html.h,v 1.8 2006-12-15 12:40:02 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: mh_html.h,v 1.9 2006-12-16 15:39:54 dockes Exp $  (C) 2004 J.F.Dockes */
20
20
21
#include <string>
21
#include <string>
22
22
23
#include "mimehandler.h"
23
#include "mimehandler.h"
24
24
...
...
29
 public:
29
 public:
30
    MimeHandlerHtml(const string& mt) : RecollFilter(mt) {}
30
    MimeHandlerHtml(const string& mt) : RecollFilter(mt) {}
31
    virtual ~MimeHandlerHtml() {}
31
    virtual ~MimeHandlerHtml() {}
32
    virtual bool set_document_file(const string &file_path);
32
    virtual bool set_document_file(const string &file_path);
33
    virtual bool set_document_string(const string &data);
33
    virtual bool set_document_string(const string &data);
34
    virtual bool is_data_input_ok(DataInput input) const {
35
  if (input == DOCUMENT_FILE_NAME || input == DOCUMENT_STRING)
36
      return true;
37
  return false;
38
    }
34
    virtual bool next_document();
39
    virtual bool next_document();
35
private:
40
private:
36
    string m_html;
41
    string m_html;
37
};
42
};
38
43