-#ifndef __TABLES_H__
-#define __TABLES_H__
+#pragma once
+
+#include "sensors.h"
#include <string>
#include <map>
-#include "sensors.h"
-
namespace STG
{
-struct Tariffs;
-struct Users;
-}
+class Tariffs;
+class Users;
class TableSensor {
public:
tariffs(t),
users(u)
{}
- virtual ~TariffUsersTable() {}
- void UpdateSensors(Sensors & sensors) const;
+ void UpdateSensors(Sensors & sensors) const override;
private:
STG::Tariffs & tariffs;
};
typedef std::map<std::string, TableSensor *> Tables;
-
-#endif
+}