comparison plugin/PluginScan.h @ 1178:bf05d9259dbc pluginscan

First cut running (but not yet using output of, or recovering from errors in) the plugin checker at startup
author Chris Cannam
date Thu, 14 Apr 2016 12:12:04 +0100
parents
children 6b1af0f05f06
comparison
equal deleted inserted replaced
1175:4018fc0189bc 1178:bf05d9259dbc
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2
3 /*
4 Sonic Visualiser
5 An audio file viewer and annotation editor.
6 Centre for Digital Music, Queen Mary, University of London.
7
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2 of the
11 License, or (at your option) any later version. See the file
12 COPYING included with this distribution for more information.
13 */
14
15 #ifndef PLUGIN_SCAN_H
16 #define PLUGIN_SCAN_H
17
18 #include <QStringList>
19
20 #include "../vamp-plugin-load-checker/knownplugins.h" //!!!
21
22 class PluginScan : public PluginCandidates::LogCallback
23 {
24 public:
25 static PluginScan *getInstance();
26
27 void scan();
28
29 QStringList getCandidateVampLibraries() const;
30 QStringList getCandidateLADSPALibraries() const;
31 QStringList getCandidateDSSILibraries() const;
32
33 QString getStartupFailureReport() const;
34
35 protected:
36 void log(std::string);
37
38 private:
39 PluginScan();
40 ~PluginScan();
41 KnownPlugins *m_kp;
42 };
43
44 #endif