git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4845575
)
Ticket 26. The 'moduleName' variable is defined and parameter 'moduleName' added
author
Elena Mamontova
<helenh463@gmail.com>
Thu, 18 Feb 2016 08:53:38 +0000
(10:53 +0200)
committer
Elena Mamontova
<helenh463@gmail.com>
Thu, 18 Feb 2016 08:53:38 +0000
(10:53 +0200)
in the new PLUGIN_RUNNER() in the constructor.
projects/stargazer/plugin_mgr.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/plugin_mgr.cpp
b/projects/stargazer/plugin_mgr.cpp
index 216e373961dc18eb4b720303a7445e5b9a5872f6..d3430c8927d3b86f6b4671ca665af4126235301e 100644
(file)
--- a/
projects/stargazer/plugin_mgr.cpp
+++ b/
projects/stargazer/plugin_mgr.cpp
@@
-60,11
+60,12
@@
PluginManager::PluginManager(const SETTINGS_IMPL& settings,
for (size_t i = 0; i < modSettings.size(); i++)
{
std::string modulePath = basePath + "/mod_" + modSettings[i].moduleName + ".so";
+ std::string moduleName = modSettings[i].moduleName;
printfd(__FILE__, "Module: %s\n", modulePath.c_str());
try
{
m_modules.push_back(
- new PLUGIN_RUNNER(modulePath, modSettings[i], admins, tariffs,
+ new PLUGIN_RUNNER(modulePath, mod
uleName, mod
Settings[i], admins, tariffs,
users, services, corporations, traffcounter,
store, settings)
);