From 6b3907d57f3f69df420529af308412eeb80306a4 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 12 Sep 2013 12:26:59 -0400 Subject: change names, add comment, improve return type to avoid extra call to get EngineControl::State* --- gtk2_ardour/engine_dialog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/engine_dialog.h') diff --git a/gtk2_ardour/engine_dialog.h b/gtk2_ardour/engine_dialog.h index 3872917add..88e5094948 100644 --- a/gtk2_ardour/engine_dialog.h +++ b/gtk2_ardour/engine_dialog.h @@ -154,9 +154,9 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList { State* get_matching_state (const std::string& backend, const std::string& driver, const std::string& device); - State* get_current_state (); + State* get_saved_state_for_currently_displayed_backend_and_device (); void maybe_display_saved_state (); - void save_state (); + State* save_state (); static bool print_channel_count (Gtk::SpinButton*); -- cgit v1.2.3