|
a/src/common/rclconfig.cpp |
|
b/src/common/rclconfig.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: rclconfig.cpp,v 1.37 2006-12-16 15:30:02 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: rclconfig.cpp,v 1.38 2006-12-19 08:40:50 dockes Exp $ (C) 2004 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
246 |
|
246 |
|
247 |
string RclConfig::getMimeHandlerDef(const std::string &mtype)
|
247 |
string RclConfig::getMimeHandlerDef(const std::string &mtype)
|
248 |
{
|
248 |
{
|
249 |
string hs;
|
249 |
string hs;
|
250 |
if (!mimeconf->get(mtype, hs, "index")) {
|
250 |
if (!mimeconf->get(mtype, hs, "index")) {
|
251 |
LOGDEB(("getMimeHandler: no handler for '%s'\n", mtype.c_str()));
|
251 |
LOGDEB1(("getMimeHandler: no handler for '%s'\n", mtype.c_str()));
|
252 |
}
|
252 |
}
|
253 |
return hs;
|
253 |
return hs;
|
254 |
}
|
254 |
}
|
255 |
|
255 |
|
256 |
string RclConfig::getMimeViewerDef(const string &mtype)
|
256 |
string RclConfig::getMimeViewerDef(const string &mtype)
|