X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7043a9a70ea75f584bc65d53ca97b9eb69a6fafc..0d1120fd953249ad6292b8684a2accb8890fb4ef:/projects/sgauthstress/store_loader.cpp diff --git a/projects/sgauthstress/store_loader.cpp b/projects/sgauthstress/store_loader.cpp index c54bdb36..ab7291e2 100644 --- a/projects/sgauthstress/store_loader.cpp +++ b/projects/sgauthstress/store_loader.cpp @@ -31,17 +31,18 @@ #include #include "stg/common.h" +#include "stg/module_settings.h" #include "stg/store.h" #include "store_loader.h" -#include "settings_impl.h" -STORE_LOADER::STORE_LOADER(const SETTINGS_IMPL & settings) +STORE_LOADER::STORE_LOADER(const std::string & modulesPath, + const MODULE_SETTINGS & settings) : isLoaded(false), handle(NULL), plugin(NULL), errorStr(), - storeSettings(settings.GetStoreModuleSettings()), - pluginFileName(settings.GetModulesPath() + "/mod_" + storeSettings.moduleName + ".so") + storeSettings(settings), + pluginFileName(modulesPath + "/mod_" + storeSettings.moduleName + ".so") { }