|
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.29 2006-12-20 09:54:17 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: rclconfig.h,v 1.30 2006-12-20 13:12:49 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>
|
|
... |
|
... |
114 |
bool setMimeViewerDef(const string& mimetype, const string& cmd);
|
114 |
bool setMimeViewerDef(const string& mimetype, const string& cmd);
|
115 |
|
115 |
|
116 |
/** Get icon name from mimeconf for mimetype */
|
116 |
/** Get icon name from mimeconf for mimetype */
|
117 |
string getMimeIconName(const string &mtype, string *path = 0);
|
117 |
string getMimeIconName(const string &mtype, string *path = 0);
|
118 |
|
118 |
|
|
|
119 |
/** Get list of file categories from mimeconf */
|
|
|
120 |
bool getMimeCategories(list<string>&);
|
|
|
121 |
/** Get list of mime types for category from mimeconf */
|
|
|
122 |
bool getMimeCatTypes(const string& cat, list<string>&);
|
|
|
123 |
|
119 |
/** Get a list of all indexable mime types defined in mimemap */
|
124 |
/** Get a list of all indexable mime types defined in mimemap */
|
120 |
list<string> getAllMimeTypes();
|
125 |
list<string> getAllMimeTypes();
|
121 |
|
126 |
|
122 |
/** Find exec file for external filter. cmd is the command name from the
|
127 |
/** Find exec file for external filter. cmd is the command name from the
|
123 |
* command string returned by getMimeHandlerDef */
|
128 |
* command string returned by getMimeHandlerDef */
|