|
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.18 2006-03-29 11:18:14 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: rclconfig.h,v 1.19 2006-03-29 13:08:08 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"
|
|
... |
|
... |
108 |
freeAll();
|
108 |
freeAll();
|
109 |
initFrom(r);
|
109 |
initFrom(r);
|
110 |
}
|
110 |
}
|
111 |
return *this;
|
111 |
return *this;
|
112 |
}
|
112 |
}
|
113 |
|
113 |
std::list<string> getConfNames(const string &sk) {
|
|
|
114 |
return m_conf->getNames(sk);
|
|
|
115 |
}
|
|
|
116 |
|
114 |
private:
|
117 |
private:
|
115 |
int m_ok;
|
118 |
int m_ok;
|
116 |
string m_reason; // Explanation for bad state
|
119 |
string m_reason; // Explanation for bad state
|
117 |
string m_confdir; // Directory where the files are stored
|
120 |
string m_confdir; // Directory where the files are stored
|
118 |
string m_datadir; // Example: /usr/local/share/recoll
|
121 |
string m_datadir; // Example: /usr/local/share/recoll
|