From: Elena Mamontova Date: Thu, 18 Feb 2016 08:17:43 +0000 (+0200) Subject: Ticket 26. The 'name' parameter and 'pluginName' variable initialization added in the X-Git-Tag: 2.409~174^2~1^2~38 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/484557583df0efcb62571a918e79f144aae81f9a?ds=sidebyside Ticket 26. The 'name' parameter and 'pluginName' variable initialization added in the constructor. --- diff --git a/projects/stargazer/plugin_runner.cpp b/projects/stargazer/plugin_runner.cpp index eaf51058..c758fe8d 100644 --- a/projects/stargazer/plugin_runner.cpp +++ b/projects/stargazer/plugin_runner.cpp @@ -28,6 +28,7 @@ //----------------------------------------------------------------------------- PLUGIN_RUNNER::PLUGIN_RUNNER(const std::string & fileName, + const std::string & name, const MODULE_SETTINGS & ms, ADMINS & admins, TARIFFS & tariffs, @@ -38,6 +39,7 @@ PLUGIN_RUNNER::PLUGIN_RUNNER(const std::string & fileName, STORE & store, const SETTINGS & settings) : pluginFileName(fileName), + pluginName(name), libHandle(NULL), m_plugin(Load(ms, admins, tariffs, users, services, corporations, traffcounter, store, settings))