summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.cc
diff options
context:
space:
mode:
authorKarsten Wiese <fzuuzf@googlemail.com>2005-12-22 12:23:54 +0000
committerKarsten Wiese <fzuuzf@googlemail.com>2005-12-22 12:23:54 +0000
commit5c819462b8f146b25a7dbe2c948a8407e7c5dbbb (patch)
tree48da513cd2ed545a7eed4ba0337d40a5888eed47 /gtk2_ardour/ardour_ui.cc
parent541ff632019c53a93611ad34f43930595386afe9 (diff)
s/stringcr_t/const string &/
git-svn-id: svn://localhost/trunk/ardour2@201 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r--gtk2_ardour/ardour_ui.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index b360f8c177..fca8dea231 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -1102,7 +1102,7 @@ If you still wish to quit, please use the\n\n\
}
int
-ARDOUR_UI::ask_about_saving_session (stringcr_t what)
+ARDOUR_UI::ask_about_saving_session (const string & what)
{
ArdourDialog window (_("ardour: save session?"));
Gtk::Label prompt_label;
@@ -2476,7 +2476,7 @@ ARDOUR_UI::snapshot_session ()
}
void
-ARDOUR_UI::save_state (stringcr_t name)
+ARDOUR_UI::save_state (const string & name)
{
(void) save_state_canfail (name);
}
@@ -2708,7 +2708,7 @@ ARDOUR_UI::new_session (bool startup, std::string predetermined_path)
}
int
-ARDOUR_UI::load_session (stringcr_t path, stringcr_t snap_name, string* mix_template)
+ARDOUR_UI::load_session (const string & path, const string & snap_name, string* mix_template)
{
Session *new_session;
int x;
@@ -2760,7 +2760,7 @@ ARDOUR_UI::make_session_clean ()
}
int
-ARDOUR_UI::build_session (stringcr_t path, stringcr_t snap_name,
+ARDOUR_UI::build_session (const string & path, const string & snap_name,
uint32_t control_channels,
uint32_t master_channels,
Session::AutoConnectOption input_connect,
@@ -2837,7 +2837,7 @@ ARDOUR_UI::hide_splash ()
}
void
-ARDOUR_UI::display_cleanup_results (Session::cleanup_report& rep, const gchar* list_title, stringcr_t msg)
+ARDOUR_UI::display_cleanup_results (Session::cleanup_report& rep, const gchar* list_title, const string & msg)
{
size_t removed;