refs #442 Add CPluginManagerSimulator

* Rename CPluginManager to IPluginManager, it is an abstract class now
* Move plugin-related code to CPluginManagerSimulator
* Remove plugin validation from CSimulatorPluginInfo
This commit is contained in:
Michał Garapich
2015-06-16 02:59:18 +02:00
committed by Mathew Sutcliffe
parent 02733cacb7
commit a4f0007414

View File

@@ -66,11 +66,6 @@ namespace BlackCore
bool IPluginManager::isValid(const QJsonObject &metadata) const
{
if (!metadata.contains("IID") || !metadata["IID"].isString())
{
return false;
}
if (!metadata["MetaData"].isObject())
{
return false;
@@ -134,4 +129,5 @@ namespace BlackCore
}
}
} // namespace