Switch to unified view

a/src/internfile/mh_exec.h b/src/internfile/mh_exec.h
...
...
36
 * (cmd, params etc.)
36
 * (cmd, params etc.)
37
 */
37
 */
38
class MimeHandlerExec : public RecollFilter {
38
class MimeHandlerExec : public RecollFilter {
39
 public:
39
 public:
40
    ///////////////////////
40
    ///////////////////////
41
    // Members not reset by clear(). params, cfgMtype and chgCharset
41
    // Members not reset by clear(). params, cfgFilterOutputMtype and 
42
    // cfgFilterOutputCharset
42
    // define what I am.  missingHelper is a permanent error
43
    // define what I am.  missingHelper is a permanent error
43
    // (no use to try and execute over and over something that's not
44
    // (no use to try and execute over and over something that's not
44
    // here).
45
    // here).
45
46
46
    // Parameter list: this has been built by our creator, from config file 
47
    // Parameter list: this has been built by our creator, from config file 
47
    // data. We always add the file name at the end before actual execution
48
    // data. We always add the file name at the end before actual execution
48
    list<string> params;
49
    list<string> params;
49
    // Filter output type. The default for ext. filters is to output html, 
50
    // Filter output type. The default for ext. filters is to output html, 
50
    // but some don't, in which case the type is defined in the config.
51
    // but some don't, in which case the type is defined in the config.
51
    string cfgMtype;
52
    string cfgFilterOutputMtype;
52
    // Output character set if the above type is not text/html. For
53
    // Output character set if the above type is not text/html. For
53
    // those filters, the output charset has to be known: ie set by a command
54
    // those filters, the output charset has to be known: ie set by a command
54
    // line option.
55
    // line option.
55
    string cfgCharset; 
56
    string cfgFilterOutputCharset; 
56
    bool missingHelper;
57
    bool missingHelper;
57
    ////////////////
58
    ////////////////
58
59
59
    MimeHandlerExec(const string& mt) : RecollFilter(mt), missingHelper(false) 
60
    MimeHandlerExec(const string& mt) : RecollFilter(mt), missingHelper(false) 
60
    {}
61
    {}