|
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.19 2006-03-29 13:08:08 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: rclconfig.h,v 1.20 2006-04-28 07:54:38 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
|
20 |
|
21 |
#include <list>
|
21 |
#include <list>
|
22 |
|
22 |
|
23 |
#include "conftree.h"
|
23 |
#include "conftree.h"
|
24 |
#include "smallut.h"
|
24 |
#include "smallut.h"
|
|
... |
|
... |
51 |
}
|
51 |
}
|
52 |
/** Variant with autoconversion to int */
|
52 |
/** Variant with autoconversion to int */
|
53 |
bool getConfParam(const std::string &name, int *value);
|
53 |
bool getConfParam(const std::string &name, int *value);
|
54 |
/** Variant with autoconversion to bool */
|
54 |
/** Variant with autoconversion to bool */
|
55 |
bool getConfParam(const std::string &name, bool *value);
|
55 |
bool getConfParam(const std::string &name, bool *value);
|
|
|
56 |
|
56 |
/** Get default charset for current keydir (was set during setKeydir)
|
57 |
/** Get default charset for current keydir (was set during setKeydir)
|
57 |
* filenames are handled differently */
|
58 |
* filenames are handled differently */
|
58 |
const string &getDefCharset(bool filename = false);
|
59 |
const string &getDefCharset(bool filename = false);
|
59 |
/** Get guessCharset for current keydir (was set during setKeydir) */
|
60 |
/** Get guessCharset for current keydir (was set during setKeydir) */
|
60 |
bool getGuessCharset() {return guesscharset;}
|
61 |
bool getGuessCharset() {return guesscharset;}
|
61 |
|
62 |
|
|
|
63 |
/** Get database directory */
|
|
|
64 |
string getDbDir();
|
62 |
|
65 |
|
63 |
/**
|
66 |
/**
|
64 |
* Get list of ignored suffixes from mimemap
|
67 |
* Get list of ignored suffixes from mimemap
|
65 |
*
|
68 |
*
|
66 |
* The list is initialized on first call, and not changed for subsequent
|
69 |
* The list is initialized on first call, and not changed for subsequent
|