| 50 | } |
| 51 | |
| 52 | void ctkPluginArchiveSQL::readManifest(const QByteArray& manifestResource) |
| 53 | { |
| 54 | QByteArray manifestRes = manifestResource.isNull() ? this->getPluginResource("META-INF/MANIFEST.MF") |
| 55 | : manifestResource; |
| 56 | if (manifestRes.isEmpty()) |
| 57 | { |
| 58 | throw ctkPluginException(QString("ctkPlugin has no MANIFEST.MF resource, location=") + localPluginPath); |
| 59 | } |
| 60 | |
| 61 | manifest.read(manifestRes); |
| 62 | } |
| 63 | |
| 64 | //---------------------------------------------------------------------------- |
| 65 | QString ctkPluginArchiveSQL::getAttribute(const QString& key) const |
no test coverage detected