#include <vector>
#include "stg/settings.h"
+#include "stg/common.h"
#include "stg/module_settings.h"
#include "stg/ref.h"
class SETTINGS_IMPL : public SETTINGS {
public:
SETTINGS_IMPL(const std::string &);
+ SETTINGS_IMPL(const SETTINGS_IMPL & rhs);
virtual ~SETTINGS_IMPL() {}
+ SETTINGS_IMPL & operator=(const SETTINGS_IMPL &);
+
int Reload() { return ReadSettings(); }
int ReadSettings();
{ return modulesSettings; }
const std::vector<std::string> & GetScriptParams() const { return scriptParams; }
+ int ParseModuleSettings(const DOTCONFDocumentNode * node, std::vector<PARAM_VALUE> * params);
+
private:
static void ErrorCallback(void * data, const char * buf);