|
a/src/common/rclconfig.h |
|
b/src/common/rclconfig.h |
|
... |
|
... |
81 |
bool updateMainConfig();
|
81 |
bool updateMainConfig();
|
82 |
|
82 |
|
83 |
bool ok() {return m_ok;}
|
83 |
bool ok() {return m_ok;}
|
84 |
const string &getReason() {return m_reason;}
|
84 |
const string &getReason() {return m_reason;}
|
85 |
|
85 |
|
86 |
/** Return the directory where this configuration is stored */
|
86 |
/** Return the directory where this configuration is stored.
|
|
|
87 |
* This was possibly silently created by the rclconfig
|
|
|
88 |
* constructor it it is the default one (~/.recoll) and it did
|
|
|
89 |
* not exist yet. */
|
87 |
string getConfDir() {return m_confdir;}
|
90 |
string getConfDir() {return m_confdir;}
|
|
|
91 |
/** Returns true if this is ~/.recoll */
|
|
|
92 |
bool isDefaultConfig();
|
88 |
/** Get the local value for /usr/local/share/recoll/ */
|
93 |
/** Get the local value for /usr/local/share/recoll/ */
|
89 |
const string& getDatadir() {return m_datadir;}
|
94 |
const string& getDatadir() {return m_datadir;}
|
90 |
|
95 |
|
91 |
/** Set current directory reference, and fetch automatic parameters. */
|
96 |
/** Set current directory reference, and fetch automatic parameters. */
|
92 |
void setKeyDir(const string &dir);
|
97 |
void setKeyDir(const string &dir);
|