|
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.20 2006-04-28 07:54:38 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: rclconfig.h,v 1.21 2006-09-08 09:02:47 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"
|
25 |
|
25 |
|
26 |
class RclConfig {
|
26 |
class RclConfig {
|
27 |
public:
|
27 |
public:
|
28 |
|
28 |
|
29 |
RclConfig();
|
29 |
RclConfig(const string *argcnf=0);
|
30 |
bool ok() {return m_ok;}
|
30 |
bool ok() {return m_ok;}
|
31 |
const string &getReason() {return m_reason;}
|
31 |
const string &getReason() {return m_reason;}
|
32 |
/** Return the directory where this config is stored */
|
32 |
/** Return the directory where this config is stored */
|
33 |
string getConfDir() {return m_confdir;}
|
33 |
string getConfDir() {return m_confdir;}
|
34 |
|
34 |
|