mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Rename PBD::SearchPath::get_string to PBD::SearchPath::to_string
git-svn-id: svn://localhost/ardour2/trunk@2369 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
39cd07a969
commit
3b937a7c44
6 changed files with 9 additions and 9 deletions
|
|
@ -189,7 +189,7 @@ load_rc_file (const string& filename, bool themechange)
|
||||||
if(!find_file_in_search_path (spath, filename, rc_file_path))
|
if(!find_file_in_search_path (spath, filename, rc_file_path))
|
||||||
{
|
{
|
||||||
warning << string_compose(_("Unable to find UI style file %1 in search path %2. Ardour will look strange"),
|
warning << string_compose(_("Unable to find UI style file %1 in search path %2. Ardour will look strange"),
|
||||||
filename, spath.get_string())
|
filename, spath.to_string())
|
||||||
<< endmsg;
|
<< endmsg;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -198,7 +198,7 @@ ControlProtocolManager::discover_control_protocols ()
|
||||||
find_matching_files_in_search_path (control_protocol_search_path (),
|
find_matching_files_in_search_path (control_protocol_search_path (),
|
||||||
dylib_extension_pattern, cp_modules);
|
dylib_extension_pattern, cp_modules);
|
||||||
|
|
||||||
info << string_compose (_("looking for control protocols in %1"), control_protocol_search_path().get_string()) << endmsg;
|
info << string_compose (_("looking for control protocols in %1"), control_protocol_search_path().to_string()) << endmsg;
|
||||||
|
|
||||||
for (vector<sys::path>::iterator i = cp_modules.begin(); i != cp_modules.end(); ++i) {
|
for (vector<sys::path>::iterator i = cp_modules.begin(); i != cp_modules.end(); ++i) {
|
||||||
control_protocol_discover ((*i).to_string());
|
control_protocol_discover ((*i).to_string());
|
||||||
|
|
|
||||||
|
|
@ -369,7 +369,7 @@ Session::raid_path () const
|
||||||
raid_search_path += sys::path((*i).path);
|
raid_search_path += sys::path((*i).path);
|
||||||
}
|
}
|
||||||
|
|
||||||
return raid_search_path.get_string ();
|
return raid_search_path.to_string ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -406,8 +406,8 @@ Session::setup_raid_path (string path)
|
||||||
|
|
||||||
// set the AudioFileSource and SMFSource search path
|
// set the AudioFileSource and SMFSource search path
|
||||||
|
|
||||||
AudioFileSource::set_search_path (sound_search_path.get_string ());
|
AudioFileSource::set_search_path (sound_search_path.to_string ());
|
||||||
SMFSource::set_search_path (midi_search_path.get_string ());
|
SMFSource::set_search_path (midi_search_path.to_string ());
|
||||||
|
|
||||||
// reset the round-robin soundfile path thingie
|
// reset the round-robin soundfile path thingie
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ find_file_in_search_path(const SearchPath& search_path,
|
||||||
(
|
(
|
||||||
"Found no file named %1 in search path %2",
|
"Found no file named %1 in search path %2",
|
||||||
filename,
|
filename,
|
||||||
search_path.get_string ()
|
search_path.to_string ()
|
||||||
)
|
)
|
||||||
<< endmsg;
|
<< endmsg;
|
||||||
|
|
||||||
|
|
@ -120,7 +120,7 @@ find_file_in_search_path(const SearchPath& search_path,
|
||||||
(
|
(
|
||||||
"Found more than one file matching %1 in search path %2",
|
"Found more than one file matching %1 in search path %2",
|
||||||
filename,
|
filename,
|
||||||
search_path.get_string ()
|
search_path.to_string ()
|
||||||
)
|
)
|
||||||
<< endmsg;
|
<< endmsg;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@ public:
|
||||||
* The string that is returned contains the platform specific
|
* The string that is returned contains the platform specific
|
||||||
* path separator.
|
* path separator.
|
||||||
*/
|
*/
|
||||||
const string get_string () const;
|
const string to_string () const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Assignment of another SearchPath to this.
|
* Assignment of another SearchPath to this.
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ SearchPath::add_directories (const vector<sys::path>& paths)
|
||||||
}
|
}
|
||||||
|
|
||||||
const string
|
const string
|
||||||
SearchPath::get_string () const
|
SearchPath::to_string () const
|
||||||
{
|
{
|
||||||
string path;
|
string path;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue