Switch to unified view

a/src/internfile/mimehandler.h b/src/internfile/mimehandler.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 _MIMEHANDLER_H_INCLUDED_
17
#ifndef _MIMEHANDLER_H_INCLUDED_
18
#define _MIMEHANDLER_H_INCLUDED_
18
#define _MIMEHANDLER_H_INCLUDED_
19
/* @(#$Id: mimehandler.h,v 1.14 2006-12-16 15:39:54 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: mimehandler.h,v 1.15 2007-11-16 14:28:52 dockes Exp $  (C) 2004 J.F.Dockes */
20
20
21
#include <string>
21
#include <string>
22
#include <list>
22
#include <list>
23
using std::string;
23
using std::string;
24
using std::list;
24
using std::list;
...
...
84
};
84
};
85
85
86
/**
86
/**
87
 * Return indexing handler object for the given mime type
87
 * Return indexing handler object for the given mime type
88
 * returned pointer should be deleted by caller
88
 * returned pointer should be deleted by caller
89
 * @param mtyp input mime type, ie text/plain
90
 * @param cfg  the recoll config object to be used
91
 * @param filtertypes decide if we should restrict to types in 
92
 *     indexedmimetypes (if this is set at all).
89
 */
93
 */
90
extern Dijon::Filter *getMimeHandler(const std::string &mtyp, RclConfig *cfg);
94
extern Dijon::Filter *getMimeHandler(const std::string &mtyp, RclConfig *cfg,
95
                   bool filtertypes=false);
91
96
92
/// Can this mime type be interned ?
97
/// Can this mime type be interned ?
93
extern bool canIntern(const std::string mimetype, RclConfig *cfg);
98
extern bool canIntern(const std::string mimetype, RclConfig *cfg);
94
99
95
#endif /* _MIMEHANDLER_H_INCLUDED_ */
100
#endif /* _MIMEHANDLER_H_INCLUDED_ */