]> git.stg.codes - stg.git/blobdiff - stargazer/plugins/other/smux/tables.h
Public interfaces: part 1
[stg.git] / stargazer / plugins / other / smux / tables.h
index a1f97f673fccb8ef8f57568da8adf75b62e1af48..edfe4377326a9d47d7e765021b3cf8a0a2eb0a2e 100644 (file)
@@ -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<std::string, TableSensor *> Tables;