mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Add NSM ':switch:' capability
This allows to switch from one Ardour session to another without application restart. This also include some minor related NSM fixes.
This commit is contained in:
parent
6eb1559f79
commit
692aa7bbb8
5 changed files with 16 additions and 8 deletions
|
|
@ -238,7 +238,7 @@ public:
|
|||
int load_session_from_startup_fsm ();
|
||||
|
||||
/// @return true if session was successfully unloaded.
|
||||
int unload_session (bool hide_stuff = false);
|
||||
int unload_session (bool hide_stuff = false, bool force_unload = false);
|
||||
void close_session();
|
||||
|
||||
int save_state_canfail (std::string state_name = "", bool switch_to_it = false);
|
||||
|
|
@ -927,6 +927,7 @@ private:
|
|||
void action_script_changed (int i, const std::string&);
|
||||
|
||||
void ask_about_scratch_deletion ();
|
||||
bool nsm_first_session_opened;
|
||||
};
|
||||
|
||||
#endif /* __ardour_gui_h__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue