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:
Tim Mayberry 2007-09-04 04:47:48 +00:00
parent 39cd07a969
commit 3b937a7c44
6 changed files with 9 additions and 9 deletions

View file

@ -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;
} }

View file

@ -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());

View file

@ -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

View file

@ -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;
} }

View file

@ -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.

View file

@ -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;