summaryrefslogtreecommitdiff
path: root/gtk2_ardour/startup.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-08 01:43:44 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-08 01:43:44 +0000
commit9fa8238d9d4ebda14d60cc2256d721a0405b5fa0 (patch)
tree857880a19b0f559941c5491e43b61601b2efc12b /gtk2_ardour/startup.h
parent5bd34bd84c69838dded18ba9c42db0a9d338f103 (diff)
Delay the writing of the been-here-before file until a bit later, in case the user cancels at some point during setup (#4434).
git-svn-id: svn://localhost/ardour2/branches/3.0@10489 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/startup.h')
-rw-r--r--gtk2_ardour/startup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/startup.h b/gtk2_ardour/startup.h
index 76183b5b5a..a7f1517f41 100644
--- a/gtk2_ardour/startup.h
+++ b/gtk2_ardour/startup.h
@@ -39,6 +39,8 @@
#include <gtkmm/liststore.h>
#include <gtkmm/combobox.h>
+#include "pbd/filesystem.h"
+
#include "ardour/utils.h"
class EngineControl;
@@ -85,6 +87,8 @@ class ArdourStartup : public Gtk::Assistant {
bool new_user;
bool new_only;
+ PBD::sys::path been_here_before_path () const;
+
void on_apply ();
void on_cancel ();
bool on_delete_event (GdkEventAny*);