3 $Date: 2009/06/22 16:26:54 $
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 * Author : Boris Mikhailenko <stg34@stargazer.dp.ua>
33 #include <sys/types.h>
35 #include <dotconfpp.h>
38 #include "base_settings.h"
39 #include "stg_logger.h"
43 //-----------------------------------------------------------------------------
47 SETTINGS(const char * cf = "./convertor.conf");
52 string GetStrError() const;
54 const string & GetConfDir() const;
56 const string & GetModulesPath() const;
57 const MODULE_SETTINGS & GetSourceStoreModuleSettings() const;
58 const MODULE_SETTINGS & GetDestStoreModuleSettings() const;
62 //int ParseInt(const string & value, int * val);
63 //int ParseIntInRange(const string & value, int min, int max, int * val);
64 //int ParseYesNo(const string & value, bool * val);
66 int ParseModuleSettings(const DOTCONFDocumentNode * dirNameNode, vector<PARAM_VALUE> * params);
73 MODULE_SETTINGS sourceStoreModuleSettings;
74 MODULE_SETTINGS destStoreModuleSettings;
76 //-----------------------------------------------------------------------------