X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c44a8344b51fce4348e0b2d31111bf38ed554496..96f8ba7ed42706e7d875ffd0dac3f62ec4c43ba5:/projects/stargazer/plugins/store/postgresql/postgresql_store.h diff --git a/projects/stargazer/plugins/store/postgresql/postgresql_store.h b/projects/stargazer/plugins/store/postgresql/postgresql_store.h index ea2ec4f3..a32b155e 100644 --- a/projects/stargazer/plugins/store/postgresql/postgresql_store.h +++ b/projects/stargazer/plugins/store/postgresql/postgresql_store.h @@ -35,15 +35,15 @@ #include #include -#include "base_store.h" +#include "stg/store.h" // Minimal DB version is 5 // Recommended DB version is 6 (support FreeMb logging on disconnects) #define DB_MIN_VERSION 5 -extern "C" BASE_STORE * GetStore(); +extern "C" STORE * GetStore(); -class POSTGRESQL_STORE : public BASE_STORE { +class POSTGRESQL_STORE : public STORE { public: POSTGRESQL_STORE(); virtual ~POSTGRESQL_STORE(); @@ -72,7 +72,7 @@ public: double cash, double freeMb, const std::string & reason) const; - int WriteDetailedStat(const std::map & statTree, + int WriteDetailedStat(const TRAFF_STAT & statTree, time_t lastStat, const std::string & login) const;