|
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.42 2008-10-08 16:15:22 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: rclconfig.h,v 1.43 2008-11-24 15:47:40 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 <set>
|
24 |
#include <set>
|
|
... |
|
... |
62 |
bool ok() {return m_ok;}
|
62 |
bool ok() {return m_ok;}
|
63 |
const string &getReason() {return m_reason;}
|
63 |
const string &getReason() {return m_reason;}
|
64 |
|
64 |
|
65 |
/** Return the directory where this configuration is stored */
|
65 |
/** Return the directory where this configuration is stored */
|
66 |
string getConfDir() {return m_confdir;}
|
66 |
string getConfDir() {return m_confdir;}
|
|
|
67 |
/** Get the local value for /usr/local/share/recoll/ */
|
|
|
68 |
const string& getDatadir() {return m_datadir;}
|
67 |
|
69 |
|
68 |
/** Set current directory reference, and fetch automatic parameters. */
|
70 |
/** Set current directory reference, and fetch automatic parameters. */
|
69 |
void setKeyDir(const string &dir);
|
71 |
void setKeyDir(const string &dir);
|
70 |
string getKeyDir() const {return m_keydir;}
|
72 |
string getKeyDir() const {return m_keydir;}
|
71 |
|
73 |
|