X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9701b7ab4dc4cd709ad4dcaa750fc0021f15e231..bd345ea112678f4ed9cfa5132b6ded87ff3c4207:/include/stg/store.h?ds=sidebyside diff --git a/include/stg/store.h b/include/stg/store.h index f33a0653..412ed65d 100644 --- a/include/stg/store.h +++ b/include/stg/store.h @@ -38,11 +38,12 @@ #include "admin_conf.h" #include "tariff_conf.h" #include "module_settings.h" -#include "stg_message.h" +#include "message.h" //----------------------------------------------------------------------------- class STORE { public: + virtual ~STORE() {} virtual int GetUsersList(std::vector * usersList) const = 0; virtual int AddUser(const std::string & login) const = 0; virtual int DelUser(const std::string & login) const = 0; @@ -78,7 +79,7 @@ public: virtual int EditMessage(const STG_MSG & msg, const std::string & login) const = 0; virtual int GetMessage(uint64_t id, STG_MSG * msg, const std::string & login) const = 0; virtual int DelMessage(uint64_t id, const std::string & login) const = 0; - virtual int GetMessageHdrs(vector * hdrsList, const std::string & login) const = 0; + virtual int GetMessageHdrs(std::vector * hdrsList, const std::string & login) const = 0; virtual int SaveMonthStat(const USER_STAT & stat, int month, int year, const std::string & login) const = 0;