From f0b5f2af5f63d0dd0d32724c16979e7d8b1d7e43 Mon Sep 17 00:00:00 2001 From: dockes Date: Thu, 2 Oct 2008 13:30:32 +0000 Subject: [PATCH] comments --- src/internfile/mh_exec.cpp | 5 +++-- src/internfile/mh_exec.h | 10 ++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/internfile/mh_exec.cpp b/src/internfile/mh_exec.cpp index c1e8ad1c..6e36e38c 100644 --- a/src/internfile/mh_exec.cpp +++ b/src/internfile/mh_exec.cpp @@ -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; diff --git a/src/internfile/mh_exec.h b/src/internfile/mh_exec.h index 62f9caeb..a0021b1d 100644 --- a/src/internfile/mh_exec.h +++ b/src/internfile/mh_exec.h @@ -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 #include @@ -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 params;