X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e767204dbf56ac466489c142f0acdaebd5d0b935..1b2fc630ee7edf4f8763bbf0e976789d26ff9372:/projects/stargazer/tariffs_impl.h?ds=inline diff --git a/projects/stargazer/tariffs_impl.h b/projects/stargazer/tariffs_impl.h index 5778945d..cef5fed7 100644 --- a/projects/stargazer/tariffs_impl.h +++ b/projects/stargazer/tariffs_impl.h @@ -41,10 +41,10 @@ #include #include -#include "tariff.h" +#include "stg/tariff.h" +#include "stg/tariffs.h" +#include "stg/tariff_conf.h" #include "tariff_impl.h" -#include "tariffs.h" -#include "tariff_conf.h" #define TARIFF_DAY 0 #define TARIFF_NIGHT 1 @@ -60,7 +60,7 @@ public: int ReadTariffs (); const TARIFF * FindByName(const std::string & name) const; const TARIFF * GetNoTariff() const { return &noTariff; }; - int GetTariffsNum() const; + size_t Count() const; int Del(const std::string & name, const ADMIN * admin); int Add(const std::string & name, const ADMIN * admin); int Chg(const TARIFF_DATA & td, const ADMIN * admin);