X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c016156ebb870d9d81219b8c4165aa75703f1e85..5d4c15726d59897e9b6b52aaf986a4c4ea2fb553:/projects/stargazer/plugins/other/smux/tables.h diff --git a/projects/stargazer/plugins/other/smux/tables.h b/projects/stargazer/plugins/other/smux/tables.h index ad3b55a3..ea0bc627 100644 --- a/projects/stargazer/plugins/other/smux/tables.h +++ b/projects/stargazer/plugins/other/smux/tables.h @@ -6,6 +6,9 @@ #include "sensors.h" +class TARIFFS; +class USERS; + class TableSensor { public: TableSensor(const std::string & p) : prefix(p) {} @@ -21,8 +24,10 @@ class TableSensor { class TariffUsersTable : public TableSensor { public: TariffUsersTable(const std::string & p, + TARIFFS & t, USERS & u) : TableSensor(p), + tariffs(t), users(u) {} virtual ~TariffUsersTable() {} @@ -30,6 +35,7 @@ class TariffUsersTable : public TableSensor { void UpdateSensors(Sensors & sensors) const; private: + TARIFFS & tariffs; USERS & users; };