summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-03-25 10:24:47 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-03-25 10:24:47 -0600
commit1157c7d45704cdea7392c962caade327405fd6eb (patch)
tree78e69ad6e503393f32f346fe4583566808653827 /libs/ardour/ardour/session.h
parentec345037b08404089f6bc6d39a9e0ad82c89d68c (diff)
if user chooses not to delete a scratch session, removed the file that identifies it as unnamed
This way they will not be asked again if they reload and then quit the session
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r--libs/ardour/ardour/session.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h
index 64b12fd0a0..928d2d64e0 100644
--- a/libs/ardour/ardour/session.h
+++ b/libs/ardour/ardour/session.h
@@ -242,9 +242,11 @@ public:
bool loading () const { return _state_of_the_state & Loading; }
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 inital_connect_or_deletion_in_progress () const { return _state_of_the_state & (InitialConnecting | Deletion); }
bool unnamed() const;
+ void end_unnamed_status () const;
+
PBD::Signal0<void> DirtyChanged;
const SessionDirectory& session_directory () const { return *(_session_dir.get()); }