Mercurial > hg > vamp-plugin-load-checker
comparison checker/knownplugins.h @ 28:7a20698b4c29
Add checker README; rename plugin-checker-helper binary (back) to vamp-plugin-load-checker -- I decided it was more useful to have a distinctive name for the installed binary than it was important to show that it was plugin-agnostic
| author | Chris Cannam |
|---|---|
| date | Mon, 09 Jan 2017 10:14:59 +0000 |
| parents | fcaaabca1734 |
| children | 6905d8b146f6 |
comparison
equal
deleted
inserted
replaced
| 27:62a0cda8b099 | 28:7a20698b4c29 |
|---|---|
| 34 | 34 |
| 35 #include <string> | 35 #include <string> |
| 36 #include <map> | 36 #include <map> |
| 37 #include <vector> | 37 #include <vector> |
| 38 | 38 |
| 39 /** | |
| 40 * Class to identify and list candidate shared-library files possibly | |
| 41 * containing plugins in a hardcoded set of known formats. Uses a | |
| 42 * separate process (the "helper", whose executable name must be | |
| 43 * provided at construction) to test-load each library in order to | |
| 44 * winnow out any that fail to load or crash on load. | |
| 45 * | |
| 46 * Requires C++11 and the Qt5 QtCore library. | |
| 47 */ | |
| 39 class KnownPlugins | 48 class KnownPlugins |
| 40 { | 49 { |
| 41 typedef std::vector<std::string> stringlist; | 50 typedef std::vector<std::string> stringlist; |
| 42 | 51 |
| 43 public: | 52 public: |
