refs #404 Added human-readable plugin names

* Added new "identifier" attribute in JSON metadata files
* "identifier" is now the one that makes plugins unique
* "name" attribute is a human-readable name
This commit is contained in:
Michał Garapich
2015-04-11 14:36:47 +02:00
parent 2b07dfb789
commit 1d5cbb7a9d
7 changed files with 23 additions and 12 deletions

View File

@@ -138,7 +138,7 @@ namespace BlackCore
CSimulatorSetup CContextSimulator::getSimulatorSetup() const
{
if (m_debugEnabled) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO; }
if (!m_simulatorPlugin || !m_simulatorPlugin->simulator)
if (!m_simulatorPlugin)
{
return BlackMisc::Simulation::CSimulatorSetup();
}