X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/19ad06653de8ff5946a2ef1d577cf42217b2e3e3..e3c5fe3cce7be5d2b48bfcf11a1de20ca12fc7e0:/projects/stargazer/plugins/store/files/file_store.h diff --git a/projects/stargazer/plugins/store/files/file_store.h b/projects/stargazer/plugins/store/files/file_store.h index 91fb7fa8..1d72f287 100644 --- a/projects/stargazer/plugins/store/files/file_store.h +++ b/projects/stargazer/plugins/store/files/file_store.h @@ -37,9 +37,8 @@ #include "stg/store.h" #include "stg/conffiles.h" #include "stg/user_traff.h" +#include "stg/logger.h" -//----------------------------------------------------------------------------- -extern "C" STORE * GetStore(); //----------------------------------------------------------------------------- class FILES_STORE_SETTINGS { public: @@ -198,11 +197,13 @@ private: int RemoveDir(const char * path) const; int Touch(const std::string & path) const; - mutable string errorStr; + mutable std::string errorStr; std::string version; FILES_STORE_SETTINGS storeSettings; MODULE_SETTINGS settings; mutable pthread_mutex_t mutex; + + PLUGIN_LOGGER logger; }; //-----------------------------------------------------------------------------