3 $Date: 2005/10/30 21:34:28 $
6 #ifndef NET_CONFIGURATOR_H
7 #define NET_CONFIGURATOR_H
12 #include "../../base_ext_configurator.h"
13 #include "../../base_int_configurator.h"
14 #include "../../base_settings.h"
15 #include "hostallow.h"
16 #include "conffiles.h"
17 #include "configproto.h"
20 //-----------------------------------------------------------------------------
21 class NET_CONFIGURATOR_SETTINGS: public BASE_SETTINGS
24 virtual ~NET_CONFIGURATOR_SETTINGS(){};
25 virtual const string & GetStrError();
26 virtual int ReadSettings(const CONFIGFILE & cf);
28 HOSTALLOW * GetHostAllow();
35 //-----------------------------------------------------------------------------
36 class NET_CONFIGURATOR: public BASE_EXT_CONFIGURATOR
40 virtual ~NET_CONFIGURATOR();
41 virtual void SetStgConfigurator(BASE_INT_CONFIGURATOR *);
42 virtual int UserGetAll(string * login,
46 virtual int TatiffGetAll(TARIFF_CONF * conf);
47 virtual int AdminGetAll(ADMIN_CONF * conf);
48 virtual const string & GetStrError();
51 virtual void Restart();
52 virtual CONF_STATUS Status();
53 virtual BASE_SETTINGS * GetConfiguratorSettings();
54 virtual void SetAdmins(const ADMINS * a);
57 HOSTALLOW * hostAllow;
58 BASE_INT_CONFIGURATOR * stgConfigurator;
59 NET_CONFIGURATOR_SETTINGS settings;
63 //-----------------------------------------------------------------------------
64 #endif //NET_CONFIGURATOR_H