From: Maxim Mamontov Date: Wed, 8 Dec 2010 15:07:37 +0000 (+0200) Subject: В классе тарифа удален неиспользуемый метод GetDirPrice X-Git-Tag: 2.407-rc3~304 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/38adf7483e39539384d78e7044c7f7cd9f09bebf В классе тарифа удален неиспользуемый метод GetDirPrice --- diff --git a/projects/stargazer/tariff.cpp b/projects/stargazer/tariff.cpp index 088cb53d..70b75576 100644 --- a/projects/stargazer/tariff.cpp +++ b/projects/stargazer/tariff.cpp @@ -88,11 +88,6 @@ void TARIFF::PrintTariff() const //printfd(__FILE__, "Free: %8.3f\n", tariffConf.free); } //----------------------------------------------------------------------------- -void TARIFF::GetDirPrice(int dir, DIRPRICE_DATA * dd) const -{ -*dd = tariffData.dirPrice[dir]; -} -//----------------------------------------------------------------------------- void TARIFF::GetTariffData(TARIFF_DATA * td) const { *td = tariffData; diff --git a/projects/stargazer/tariff.h b/projects/stargazer/tariff.h index 830863eb..ed61e015 100644 --- a/projects/stargazer/tariff.h +++ b/projects/stargazer/tariff.h @@ -62,7 +62,6 @@ public: int dir, time_t t) const; double GetFreeMb() const { return tariffData.tariffConf.free; }; - void GetDirPrice(int dir, DIRPRICE_DATA * dd) const; double GetPassiveCost() const { return tariffData.tariffConf.passiveCost; }; double GetFee() const { return tariffData.tariffConf.fee; }; double GetFree() const { return tariffData.tariffConf.free; };