diff options
author | Karsten Wiese <fzuuzf@googlemail.com> | 2005-12-16 22:30:49 +0000 |
---|---|---|
committer | Karsten Wiese <fzuuzf@googlemail.com> | 2005-12-16 22:30:49 +0000 |
commit | 170d6b24cec9b7fe51d74b75544a097948e03082 (patch) | |
tree | 2dbaf7b89b721aa63f06ec11a4f57b5fdd6b0480 /gtk2_ardour/ardour_ui.h | |
parent | cf37405a71ef9d4f0d0d4e9303a51bfc55d7cd89 (diff) |
use stringcr_t and gain 1/1000 binary size reduction. not thaat much...
git-svn-id: svn://localhost/trunk/ardour2@194 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui.h')
-rw-r--r-- | gtk2_ardour/ardour_ui.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h index cbb69af320..91ed6136c6 100644 --- a/gtk2_ardour/ardour_ui.h +++ b/gtk2_ardour/ardour_ui.h @@ -106,9 +106,9 @@ class ARDOUR_UI : public Gtkmm2ext::UI void show_splash (); void hide_splash (); - int load_session (string path, string snapshot, string* mix_template = 0); + int load_session (ARDOUR::stringcr_t path, ARDOUR::stringcr_t snapshot, string* mix_template = 0); bool session_loaded; - int build_session (string path, string snapshot, + int build_session (ARDOUR::stringcr_t path, ARDOUR::stringcr_t snapshot, uint32_t ctl_chns, uint32_t master_chns, ARDOUR::Session::AutoConnectOption input_connect, @@ -129,12 +129,12 @@ class ARDOUR_UI : public Gtkmm2ext::UI } void new_session(bool startup = false, std::string path = string()); - gint cmdline_new_session (std::string path); + gint cmdline_new_session (string path); int unload_session (); void close_session() { unload_session(); } int save_state_canfail (string state_name = ""); - void save_state (string state_name = ""); + void save_state (ARDOUR::stringcr_t state_name = ""); void restore_state (string state_name = ""); static double gain_to_slider_position (ARDOUR::gain_t g); @@ -286,7 +286,7 @@ class ARDOUR_UI : public Gtkmm2ext::UI void shutdown (); void finish(); - int ask_about_saving_session (string why); + int ask_about_saving_session (ARDOUR::stringcr_t why); gint ask_about_save_deleted (GdkEventAny*); void save_session_choice_made (int); int save_the_session; @@ -630,7 +630,7 @@ class ARDOUR_UI : public Gtkmm2ext::UI Gtk::MenuItem *cleanup_item; - void display_cleanup_results (ARDOUR::Session::cleanup_report& rep, const gchar* list_title, string msg); + void display_cleanup_results (ARDOUR::Session::cleanup_report& rep, const gchar* list_title, ARDOUR::stringcr_t msg); void cleanup (); void flush_trash (); |