]> git.stg.codes - stg.git/blobdiff - projects/sgauthstress/store_loader.cpp
Compilation issues fixed
[stg.git] / projects / sgauthstress / store_loader.cpp
index c54bdb361cc2e0b0dfb9884ce1f080dcfa873fc3..ab7291e2893c8189382272af5a9d25739e59ae5e 100644 (file)
 #include <dlfcn.h>
 
 #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")
 {
 }