diff options
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r-- | libs/ardour/globals.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index 9f4a1399b3..e68e6f08e3 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -80,7 +80,6 @@ #include "pbd/fpu.h" #include "pbd/file_utils.h" #include "pbd/enumwriter.h" -#include "pbd/basename.h" #include "midi++/port.h" #include "midi++/mmc.h" @@ -608,31 +607,6 @@ ARDOUR::cleanup () return; } -void -ARDOUR::find_bindings_files (map<string,string>& files) -{ - vector<std::string> found; - Searchpath spath = ardour_config_search_path(); - - if (getenv ("ARDOUR_SAE")) { - find_files_matching_pattern (found, spath, "*SAE-*.bindings"); - } else { - find_files_matching_pattern (found, spath, "*.bindings"); - } - - if (found.empty()) { - return; - } - - for (vector<std::string>::iterator x = found.begin(); x != found.end(); ++x) { - std::string path(*x); - pair<string,string> namepath; - namepath.second = path; - namepath.first = PBD::basename_nosuffix (path); - files.insert (namepath); - } -} - bool ARDOUR::no_auto_connect() { |