|
a/src/internfile/mh_symlink.h |
|
b/src/internfile/mh_symlink.h |
|
... |
|
... |
33 |
* the config. Add inode/symlink = internal to the index section of mimeconf
|
33 |
* the config. Add inode/symlink = internal to the index section of mimeconf
|
34 |
* to enable.
|
34 |
* to enable.
|
35 |
*/
|
35 |
*/
|
36 |
class MimeHandlerSymlink : public RecollFilter {
|
36 |
class MimeHandlerSymlink : public RecollFilter {
|
37 |
public:
|
37 |
public:
|
38 |
MimeHandlerSymlink(RclConfig *cnf, const std::string& mt)
|
38 |
MimeHandlerSymlink(RclConfig *cnf, const std::string& id)
|
39 |
: RecollFilter(cnf, mt) {}
|
39 |
: RecollFilter(cnf, id)
|
40 |
virtual ~MimeHandlerSymlink() {}
|
|
|
41 |
virtual bool set_document_file(const string& fn)
|
|
|
42 |
{
|
40 |
{
|
|
|
41 |
}
|
|
|
42 |
virtual ~MimeHandlerSymlink()
|
|
|
43 |
{
|
|
|
44 |
}
|
|
|
45 |
virtual bool set_document_file(const string& mt, const string& fn)
|
|
|
46 |
{
|
43 |
RecollFilter::set_document_file(fn);
|
47 |
RecollFilter::set_document_file(mt, fn);
|
44 |
m_fn = fn;
|
48 |
m_fn = fn;
|
45 |
return m_havedoc = true;
|
49 |
return m_havedoc = true;
|
46 |
}
|
50 |
}
|
47 |
virtual bool next_document()
|
51 |
virtual bool next_document()
|
48 |
{
|
52 |
{
|