X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1347f3d1e04bedd1508589173f577673ee2c5554..b4dba83ccd632236b4f6ac78caa6637bc0874e35:/projects/stargazer/tariffs_impl.h?ds=sidebyside diff --git a/projects/stargazer/tariffs_impl.h b/projects/stargazer/tariffs_impl.h index 37c76fc4..55cc49b3 100644 --- a/projects/stargazer/tariffs_impl.h +++ b/projects/stargazer/tariffs_impl.h @@ -25,16 +25,16 @@ #ifndef TARIFFS_IMPL_H #define TARIFFS_IMPL_H -#include +#include "stg/tariff.h" +#include "stg/tariffs.h" +#include "stg/tariff_conf.h" +#include "tariff_impl.h" #include #include #include -#include "stg/tariff.h" -#include "stg/tariffs.h" -#include "stg/tariff_conf.h" -#include "tariff_impl.h" +#include #define TARIFF_DAY 0 #define TARIFF_NIGHT 1 @@ -47,7 +47,7 @@ class TARIFFS_IMPL : public TARIFFS { public: typedef std::list Tariffs; - TARIFFS_IMPL(STORE * store); + explicit TARIFFS_IMPL(STORE * store); virtual ~TARIFFS_IMPL(); int ReadTariffs (); const TARIFF * FindByName(const std::string & name) const; @@ -63,7 +63,7 @@ public: void AddNotifierDel(NOTIFIER_BASE * notifier); void DelNotifierDel(NOTIFIER_BASE * notifier); - void GetTariffsData(std::list * tdl); + void GetTariffsData(std::list * tdl) const; const std::string & GetStrError() const { return strError; }