git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use async-radius.
[stg.git]
/
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 1e27b326c30d17fa78c54bf1f2b43b20e05806d7..17875cecfa49029e9d4f770f32c45c5bf6edf288 100644
(file)
--- a/
projects/stargazer/plugins/other/smux/tables.h
+++ b/
projects/stargazer/plugins/other/smux/tables.h
@@
-1,16
+1,14
@@
-#ifndef __TABLES_H__
-#define __TABLES_H__
+#pragma once
+
+#include "sensors.h"
#include <string>
#include <map>
#include <string>
#include <map>
-#include "sensors.h"
-
namespace STG
{
namespace STG
{
-struct Tariffs;
-struct Users;
-}
+class Tariffs;
+class Users;
class TableSensor {
public:
class TableSensor {
public:
@@
-42,5
+40,4
@@
class TariffUsersTable : public TableSensor {
};
typedef std::map<std::string, TableSensor *> Tables;
};
typedef std::map<std::string, TableSensor *> Tables;
-
-#endif
+}