Switch to unified view

a/src/internfile/mimehandler.cpp b/src/internfile/mimehandler.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: mimehandler.cpp,v 1.10 2005-11-08 21:02:55 dockes Exp $ (C) 2004 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: mimehandler.cpp,v 1.11 2005-11-16 15:07:20 dockes Exp $ (C) 2004 J.F.Dockes";
3
#endif
3
#endif
4
4
5
#include <iostream>
5
#include <iostream>
6
#include <string>
6
#include <string>
7
using namespace std;
7
using namespace std;
...
...
165
    string hs;
165
    string hs;
166
    mhandlers->get(mtype, hs, "view");
166
    mhandlers->get(mtype, hs, "view");
167
    return hs;
167
    return hs;
168
}
168
}
169
169
170
/**
171
 * Return icon name
172
 */
173
string getMimeIconName(const std::string &mtype, ConfTree *mhandlers)
174
{
175
    string hs;
176
    mhandlers->get(mtype, hs, "icons");
177
    return hs;
178
}
179
170
/** 
180
/** 
171
 * Return decompression command line for given mime type
181
 * Return decompression command line for given mime type
172
 */
182
 */
173
bool getUncompressor(const std::string &mtype, ConfTree *mhandlers, 
183
bool getUncompressor(const std::string &mtype, ConfTree *mhandlers, 
174
             list<string>& cmd)
184
             list<string>& cmd)