X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0907aa4037b12b6b88ee24495d4577a064d4f8db..296c906e2689b9b5dc26d2f2d3e1e2d9e1662d3b:/projects/stargazer/tariffs_impl.h?ds=sidebyside diff --git a/projects/stargazer/tariffs_impl.h b/projects/stargazer/tariffs_impl.h index 4b554b4d..8beb36c8 100644 --- a/projects/stargazer/tariffs_impl.h +++ b/projects/stargazer/tariffs_impl.h @@ -39,7 +39,7 @@ namespace STG struct Store; class Logger; -struct Admin; +class Admin; class TariffsImpl : public Tariffs { public: @@ -55,12 +55,6 @@ class TariffsImpl : public Tariffs { int Add(const std::string & name, const Admin * admin) override; int Chg(const TariffData & td, const Admin * admin) override; - void AddNotifierAdd(NotifierBase<TariffData> * notifier) override; - void DelNotifierAdd(NotifierBase<TariffData> * notifier) override; - - void AddNotifierDel(NotifierBase<TariffData> * notifier) override; - void DelNotifierDel(NotifierBase<TariffData> * notifier) override; - void GetTariffsData(std::vector<TariffData> * tdl) const override; const std::string & GetStrError() const override { return strError; } @@ -72,9 +66,6 @@ class TariffsImpl : public Tariffs { mutable std::mutex m_mutex; std::string strError; TariffImpl noTariff; - - std::set<NotifierBase<TariffData>*> onAddNotifiers; - std::set<NotifierBase<TariffData>*> onDelNotifiers; }; }