diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-12 12:26:59 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-12 12:26:59 -0400 |
commit | 6b3907d57f3f69df420529af308412eeb80306a4 (patch) | |
tree | 8c3039216a269f8ad9398cf696c35bbe83697076 /gtk2_ardour/engine_dialog.h | |
parent | 4df3666738607039445ebc9fa083bf5c23ac5539 (diff) |
change names, add comment, improve return type to avoid extra call to get EngineControl::State*
Diffstat (limited to 'gtk2_ardour/engine_dialog.h')
-rw-r--r-- | gtk2_ardour/engine_dialog.h | 4 |
1 files changed, 2 insertions, 2 deletions
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*); |