comments
This commit is contained in:
parent
722094e014
commit
f0b5f2af5f
@ -1,5 +1,5 @@
|
||||
#ifndef lint
|
||||
static char rcsid[] = "@(#$Id: mh_exec.cpp,v 1.10 2008-08-26 07:31:54 dockes Exp $ (C) 2005 J.F.Dockes";
|
||||
static char rcsid[] = "@(#$Id: mh_exec.cpp,v 1.11 2008-10-02 13:30:32 dockes Exp $ (C) 2005 J.F.Dockes";
|
||||
#endif
|
||||
/*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@ -79,7 +79,8 @@ bool MimeHandlerExec::next_document()
|
||||
}
|
||||
|
||||
m_metaData["origcharset"] = m_defcharset;
|
||||
// All recoll filters output utf-8
|
||||
// Default charset: all recoll filters output utf-8, but this
|
||||
// could still be overridden by the content-type meta tag.
|
||||
m_metaData["charset"] = "utf-8";
|
||||
m_metaData["mimetype"] = "text/html";
|
||||
return true;
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
*/
|
||||
#ifndef _MH_EXEC_H_INCLUDED_
|
||||
#define _MH_EXEC_H_INCLUDED_
|
||||
/* @(#$Id: mh_exec.h,v 1.5 2008-08-26 07:31:54 dockes Exp $ (C) 2004 J.F.Dockes */
|
||||
/* @(#$Id: mh_exec.h,v 1.6 2008-10-02 13:30:32 dockes Exp $ (C) 2004 J.F.Dockes */
|
||||
|
||||
#include <string>
|
||||
#include <list>
|
||||
@ -26,9 +26,11 @@ using std::string;
|
||||
#include "mimehandler.h"
|
||||
|
||||
/**
|
||||
Turn external document into internal one by executing an external filter.
|
||||
The command to execute, and its parameters, come from the mimeconf file
|
||||
*/
|
||||
* Turn external document into internal one by executing an external filter.
|
||||
*
|
||||
* The command to execute, and its parameters, are stored in the "params"
|
||||
* which is built in mimehandler.cpp out of data from the mimeconf file.
|
||||
*/
|
||||
class MimeHandlerExec : public RecollFilter {
|
||||
public:
|
||||
list<string> params;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user