X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..83ce40b2a471b560ec7516efebcb5ddcf7519071:/stargazer/plugins/other/smux/tables.h?ds=sidebyside diff --git a/stargazer/plugins/other/smux/tables.h b/stargazer/plugins/other/smux/tables.h index a1f97f67..edfe4377 100644 --- a/stargazer/plugins/other/smux/tables.h +++ b/stargazer/plugins/other/smux/tables.h @@ -6,8 +6,11 @@ #include "sensors.h" -class TARIFFS; -class USERS; +namespace STG +{ +struct Tariffs; +struct Users; +} class TableSensor { public: @@ -24,8 +27,8 @@ class TableSensor { class TariffUsersTable : public TableSensor { public: TariffUsersTable(const std::string & p, - TARIFFS & t, - USERS & u) + STG::Tariffs & t, + STG::Users & u) : TableSensor(p), tariffs(t), users(u) @@ -35,8 +38,8 @@ class TariffUsersTable : public TableSensor { void UpdateSensors(Sensors & sensors) const; private: - TARIFFS & tariffs; - USERS & users; + STG::Tariffs & tariffs; + STG::Users & users; }; typedef std::map Tables;