]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugin_runner.cpp
Ticket 26. The 'name' parameter and 'pluginName' variable initialization added in the
[stg.git] / projects / stargazer / plugin_runner.cpp
index eaf51058ccedc97a0999c8fee211142632edc8c1..c758fe8d8827593a88604edca3638a082ec9460e 100644 (file)
@@ -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))