comments
This commit is contained in:
parent
722094e014
commit
f0b5f2af5f
@ -1,5 +1,5 @@
|
|||||||
#ifndef lint
|
#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
|
#endif
|
||||||
/*
|
/*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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;
|
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["charset"] = "utf-8";
|
||||||
m_metaData["mimetype"] = "text/html";
|
m_metaData["mimetype"] = "text/html";
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
#ifndef _MH_EXEC_H_INCLUDED_
|
#ifndef _MH_EXEC_H_INCLUDED_
|
||||||
#define _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 <string>
|
||||||
#include <list>
|
#include <list>
|
||||||
@ -26,9 +26,11 @@ using std::string;
|
|||||||
#include "mimehandler.h"
|
#include "mimehandler.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Turn external document into internal one by executing an external filter.
|
* Turn external document into internal one by executing an external filter.
|
||||||
The command to execute, and its parameters, come from the mimeconf file
|
*
|
||||||
*/
|
* 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 {
|
class MimeHandlerExec : public RecollFilter {
|
||||||
public:
|
public:
|
||||||
list<string> params;
|
list<string> params;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user