Rename SearchPath class Searchpath

Windows headers define SearchPath which means we have to undefine it
where necessary. This is a pain and can be tricksy, so I feel renaming
the class slightly is the easiest solution.
This commit is contained in:
Tim Mayberry
2013-08-15 20:04:08 +10:00
parent e6c7ecf0e3
commit 8ddd12a60d
46 changed files with 125 additions and 189 deletions

View File

@@ -29,10 +29,6 @@
#include "ardour/session_directory.h"
#include "ardour/midi_patch_manager.h"
#ifdef SearchPath
#undef SearchPath
#endif
#include "ardour/midi_patch_search_path.h"
#include "i18n.h"
@@ -107,7 +103,7 @@ MidiPatchManager::refresh()
_master_devices_by_model.clear();
_all_models.clear();
SearchPath search_path = midi_patch_search_path ();
Searchpath search_path = midi_patch_search_path ();
Glib::PatternSpec pattern (string("*.midnam"));
vector<std::string> result;