Mercurial > hg > vamp-plugin-load-checker
view checker.cpp @ 4:6f891a9c6434
Make checker with hard-coded knowledge about various plugin types and paths; fix some process management problems
author | Chris Cannam |
---|---|
date | Wed, 13 Apr 2016 12:00:07 +0100 |
parents | 3bae396cf8e0 |
children | 74064d6f5e07 |
line wrap: on
line source
#include "knownplugins.h" #include <iostream> using namespace std; int main(int, char **) { KnownPlugins kp; for (auto t: kp.getKnownPluginTypes()) { cout << "successful libraries for plugin type \"" << kp.getTagFor(t) << "\":" << endl; for (auto lib: kp.getCandidateLibrariesFor(t)) { cout << lib << endl; } } cout << "Failure message (if any):" << endl; cout << kp.getFailureReport() << endl; }