- const std::string & login) const;
-
- int AddMessage(STG_MSG * msg, const std::string & login) const;
- int EditMessage(const STG_MSG & msg, const std::string & login) const;
- int GetMessage(uint64_t id, STG_MSG * msg, const std::string & login) const;
- int DelMessage(uint64_t id, const std::string & login) const;
- int GetMessageHdrs(std::vector<STG_MSG_HDR> * hdrsList, const std::string & login) const;
-
- int SaveMonthStat(const USER_STAT & stat, int month, int year, const std::string & login) const;
-
- int GetAdminsList(std::vector<std::string> * adminsList) const;
- int SaveAdmin(const ADMIN_CONF & ac) const;
- int RestoreAdmin(ADMIN_CONF * ac, const std::string & login) const;
- int AddAdmin(const std::string & login) const;
- int DelAdmin(const std::string & login) const;
-
- int GetTariffsList(std::vector<std::string> * tariffsList) const;
- int AddTariff(const std::string & name) const;
- int DelTariff(const string & name) const;
- int SaveTariff(const TARIFF_DATA & td, const std::string & tariffName) const;
- int RestoreTariff(TARIFF_DATA * td, const std::string & tariffName) const;
-
- int GetCorpsList(std::vector<std::string> * corpsList) const;
- int SaveCorp(const CORP_CONF & cc) const;
- int RestoreCorp(CORP_CONF * cc, const std::string & name) const;
- int AddCorp(const std::string & name) const;
- int DelCorp(const std::string & name) const;
-
- inline void SetSettings(const MODULE_SETTINGS & s) { settings = s; };
- int ParseSettings();
-
- inline const string & GetStrError() const { return strError; };
-
- inline const string & GetVersion() const { return version; };
-
- int GetServicesList(std::vector<std::string> * servicesList) const;
- int SaveService(const SERVICE_CONF & sc) const;
- int RestoreService(SERVICE_CONF * sc, const std::string & name) const;
- int AddService(const std::string & name) const;
- int DelService(const std::string & name) const;
+ const std::string & login) const override;
+
+ int AddMessage(STG::Message * msg, const std::string & login) const override;
+ int EditMessage(const STG::Message & msg, const std::string & login) const override;
+ int GetMessage(uint64_t id, STG::Message * msg, const std::string & login) const override;
+ int DelMessage(uint64_t id, const std::string & login) const override;
+ int GetMessageHdrs(std::vector<STG::Message::Header> * hdrsList, const std::string & login) const override;
+
+ int SaveMonthStat(const STG::UserStat & stat, int month, int year, const std::string & login) const override;
+
+ int GetAdminsList(std::vector<std::string> * adminsList) const override;
+ int SaveAdmin(const STG::AdminConf & ac) const override;
+ int RestoreAdmin(STG::AdminConf * ac, const std::string & login) const override;
+ int AddAdmin(const std::string & login) const override;
+ int DelAdmin(const std::string & login) const override;
+
+ int GetTariffsList(std::vector<std::string> * tariffsList) const override;
+ int AddTariff(const std::string & name) const override;
+ int DelTariff(const std::string & name) const override;
+ int SaveTariff(const STG::TariffData & td, const std::string & tariffName) const override;
+ int RestoreTariff(STG::TariffData * td, const std::string & tariffName) const override;
+
+ int GetCorpsList(std::vector<std::string> * corpsList) const override;
+ int SaveCorp(const STG::CorpConf & cc) const override;
+ int RestoreCorp(STG::CorpConf * cc, const std::string & name) const override;
+ int AddCorp(const std::string & name) const override;
+ int DelCorp(const std::string & name) const override;
+
+ inline void SetSettings(const STG::ModuleSettings & s) override { settings = s; }
+ int ParseSettings() override;
+
+ inline const std::string & GetStrError() const override { return strError; }
+
+ inline const std::string & GetVersion() const override { return version; }
+
+ int GetServicesList(std::vector<std::string> * servicesList) const override;
+ int SaveService(const STG::ServiceConf & sc) const override;
+ int RestoreService(STG::ServiceConf * sc, const std::string & name) const override;
+ int AddService(const std::string & name) const override;
+ int DelService(const std::string & name) const override;
+