|
a/src/common/rclconfig.h |
|
b/src/common/rclconfig.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 _RCLCONFIG_H_INCLUDED_
|
17 |
#ifndef _RCLCONFIG_H_INCLUDED_
|
18 |
#define _RCLCONFIG_H_INCLUDED_
|
18 |
#define _RCLCONFIG_H_INCLUDED_
|
19 |
/* @(#$Id: rclconfig.h,v 1.27 2006-12-14 13:53:42 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: rclconfig.h,v 1.28 2006-12-16 15:30:02 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
|
20 |
|
21 |
#include <list>
|
21 |
#include <list>
|
22 |
#include <string>
|
22 |
#include <string>
|
23 |
#include <vector>
|
23 |
#include <vector>
|
24 |
#include <utility>
|
24 |
#include <utility>
|
|
... |
|
... |
100 |
bool getUncompressor(const string &mtpe, list<string>& cmd);
|
100 |
bool getUncompressor(const string &mtpe, list<string>& cmd);
|
101 |
|
101 |
|
102 |
/** Use mimemap to compute mimetype */
|
102 |
/** Use mimemap to compute mimetype */
|
103 |
string getMimeTypeFromSuffix(const string &suffix);
|
103 |
string getMimeTypeFromSuffix(const string &suffix);
|
104 |
|
104 |
|
|
|
105 |
/** Get appropriate suffix for mime type. This is inefficient */
|
|
|
106 |
string getSuffixFromMimeType(const string &mt);
|
|
|
107 |
|
105 |
/** Get input filter from mimeconf for mimetype */
|
108 |
/** Get input filter from mimeconf for mimetype */
|
106 |
string getMimeHandlerDef(const string &mimetype);
|
109 |
string getMimeHandlerDef(const string &mimetype);
|
107 |
|
110 |
|
108 |
/** Get external viewer exec string from mimeconf for mimetype */
|
111 |
/** Get external viewer exec string from mimeconf for mimetype */
|
109 |
string getMimeViewerDef(const string &mimetype);
|
112 |
string getMimeViewerDef(const string &mimetype);
|