comparison plugin/PluginScan.cpp @ 1231:c0cec4659784 project-file-rework

Fix maddening failure to start server with space in its path
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 25 Oct 2016 21:06:38 +0100
parents 2f628dc9a0b0
children c6bdf247016a
comparison
equal deleted inserted replaced
1230:9ae2ce9190e6 1231:c0cec4659784
21 #include <QMutex> 21 #include <QMutex>
22 #include <QCoreApplication> 22 #include <QCoreApplication>
23 23
24 using std::string; 24 using std::string;
25 25
26 //#define DEBUG_PLUGIN_SCAN 1
27
26 class PluginScan::Logger : public PluginCandidates::LogCallback 28 class PluginScan::Logger : public PluginCandidates::LogCallback
27 { 29 {
28 protected: 30 protected:
29 void log(std::string message) { 31 void log(std::string message) {
32 #ifdef DEBUG_PLUGIN_SCAN
33 cerr << "PluginScan: " << message;
34 #endif
30 SVDEBUG << "PluginScan: " << message; 35 SVDEBUG << "PluginScan: " << message;
31 } 36 }
32 }; 37 };
33 38
34 PluginScan *PluginScan::getInstance() 39 PluginScan *PluginScan::getInstance()