diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-24 10:38:03 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-24 14:10:39 -0600 |
commit | 57669893198bd4c7bbf66b3a154fe14726ee62db (patch) | |
tree | 5b84aad487eb0d1b12d540ca4867b2f3a3206fcc /libs/ardour/ardour/session.h | |
parent | 23d72eedbf407af1c474360faa5ff86c103a6498 (diff) |
introduce the idea of an "unnamed" session
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 7f18857bff..0f27ac5029 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -207,7 +207,8 @@ public: const std::string& fullpath, const std::string& snapshot_name, BusProfile const * bus_profile = 0, - std::string mix_template = ""); + std::string mix_template = "", + bool unnamed = false); virtual ~Session (); @@ -242,6 +243,7 @@ public: bool cannot_save () const { return _state_of_the_state & CannotSave; } bool in_cleanup () const { return _state_of_the_state & InCleanup; } bool inital_connect_or_deletion_in_progress () { return _state_of_the_state & (InitialConnecting | Deletion); } + bool not_named() const; PBD::Signal0<void> DirtyChanged; @@ -1270,7 +1272,7 @@ protected: void set_transport_speed (double speed, bool abort, bool clear_state, bool as_default); private: - int create (const std::string& mix_template, BusProfile const *); + int create (const std::string& mix_template, BusProfile const *, bool unnamed); void destroy (); static guint _name_id_counter; |