Mercurial > hg > svcore
comparison plugin/PluginScan.h @ 1182:a1f410f895d3 3.0-integration
Merge from branch pluginscan
author | Chris Cannam |
---|---|
date | Fri, 15 Apr 2016 16:26:15 +0100 |
parents | 2f628dc9a0b0 |
children | c6bdf247016a |
comparison
equal
deleted
inserted
replaced
1175:4018fc0189bc | 1182:a1f410f895d3 |
---|---|
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 class KnownPlugins; | |
21 | |
22 class PluginScan | |
23 { | |
24 public: | |
25 static PluginScan *getInstance(); | |
26 | |
27 void scan(QString helperExecutablePath); | |
28 | |
29 bool scanSucceeded() const; | |
30 | |
31 enum PluginType { | |
32 VampPlugin, | |
33 LADSPAPlugin, | |
34 DSSIPlugin | |
35 }; | |
36 QStringList getCandidateLibrariesFor(PluginType) const; | |
37 | |
38 QString getStartupFailureReport() const; | |
39 | |
40 private: | |
41 PluginScan(); | |
42 ~PluginScan(); | |
43 KnownPlugins *m_kp; | |
44 bool m_succeeded; | |
45 | |
46 class Logger; | |
47 Logger *m_logger; | |
48 }; | |
49 | |
50 #endif |