summaryrefslogtreecommitdiff
path: root/gtk2_ardour/new_session_dialog.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-08-15 16:07:26 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-08-15 16:07:26 +0000
commite96e4bacbeadd832e9deb251d91124eb012a5a49 (patch)
tree6f8e5bcd550535d9c8b07581a4bfe3d938fdea07 /gtk2_ardour/new_session_dialog.h
parenta4c84de53c3855b52955df5633e2b1a4347667f8 (diff)
basic startup changes to enable the engine control stuff to work; a little ARDOUR_SAE work
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2304 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/new_session_dialog.h')
-rw-r--r--gtk2_ardour/new_session_dialog.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/gtk2_ardour/new_session_dialog.h b/gtk2_ardour/new_session_dialog.h
index 8d1ae77358..2a72670a92 100644
--- a/gtk2_ardour/new_session_dialog.h
+++ b/gtk2_ardour/new_session_dialog.h
@@ -38,6 +38,7 @@
#include <glibmm/refptr.h>
#include "ardour_dialog.h"
+#include "engine_dialog.h"
namespace Gtk {
class Entry;
@@ -54,8 +55,10 @@ class NewSessionDialog : public ArdourDialog
public:
NewSessionDialog();
+ ~NewSessionDialog ();
void set_session_name(const Glib::ustring& name);
+ void set_session_folder(const Glib::ustring& folder);
std::string session_name() const;
std::string session_folder() const;
@@ -88,11 +91,14 @@ public:
// reset everything to default values.
void reset();
+ EngineControl engine_control;
+ void set_have_engine (bool yn);
+
protected:
void reset_name();
void reset_template();
-
+
Gtk::Label * session_name_label;
Gtk::Label * session_location_label;
Gtk::Label * session_template_label;
@@ -170,6 +176,7 @@ protected:
RecentSessionModelColumns recent_columns;
Glib::RefPtr<Gtk::TreeStore> recent_model;
+ bool in_destructor;
void recent_session_selection_changed ();
void nsd_redisplay_recent_sessions();
@@ -193,8 +200,7 @@ protected:
void monitor_bus_button_clicked ();
bool on_new_session_page;
-
-
+ bool have_engine;
};
#endif // NEW_SESSION_DIALOG_H