X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fstartup.h;h=052a168a3775b453cb0abab863df5851d50b0657;hb=2db69318cef5bc7b49a3c6e00b3ca3f0f2023374;hp=95803785c10140ddb09840faf8f43e54d3d28de6;hpb=40f5747a7f59eb33f3d1675c2c5a04f68772acc1;p=ardour.git diff --git a/gtk2_ardour/startup.h b/gtk2_ardour/startup.h index 95803785c1..052a168a37 100644 --- a/gtk2_ardour/startup.h +++ b/gtk2_ardour/startup.h @@ -39,6 +39,8 @@ #include #include +#include "pbd/filesystem.h" + #include "ardour/utils.h" class EngineControl; @@ -51,11 +53,11 @@ class ArdourStartup : public Gtk::Assistant { void set_new_only (bool); void set_load_template( std::string load_template ); - Glib::ustring session_name (bool& should_be_new); - Glib::ustring session_folder (); + std::string session_name (bool& should_be_new); + std::string session_folder (); bool use_session_template(); - Glib::ustring session_template_name(); + std::string session_template_name(); EngineControl* engine_control() { return engine_dialog; } @@ -75,7 +77,7 @@ class ArdourStartup : public Gtk::Assistant { bool connect_outs_to_master() const; bool connect_outs_to_physical() const; - gint response () const { + gint response () const { return _response; } @@ -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*); @@ -153,8 +157,8 @@ class ArdourStartup : public Gtk::Assistant { add (visible_name); add (fullpath); } - Gtk::TreeModelColumn visible_name; - Gtk::TreeModelColumn fullpath; + Gtk::TreeModelColumn visible_name; + Gtk::TreeModelColumn fullpath; }; RecentSessionModelColumns recent_session_columns; @@ -288,6 +292,7 @@ class ArdourStartup : public Gtk::Assistant { void move_along_now (); bool _existing_session_chooser_used; ///< set to true when the existing session chooser has been used + void setup_prerelease_page (); }; #endif /* __gtk2_ardour_startup_h__ */