diff options
author | David Robillard <d@drobilla.net> | 2011-05-20 22:27:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-20 22:27:44 +0000 |
commit | 5499935ae017305a4b08ef7d0c1dc80739bb5aad (patch) | |
tree | ace1737dd232ae9da337aa1b066c746167a5d3ce /src/Patchage.hpp | |
parent | 9139dda70547545f9f36ffe526a5fdcc930b1e2a (diff) | |
download | patchage-5499935ae017305a4b08ef7d0c1dc80739bb5aad.tar.gz patchage-5499935ae017305a4b08ef7d0c1dc80739bb5aad.tar.bz2 patchage-5499935ae017305a4b08ef7d0c1dc80739bb5aad.zip |
Preliminary Jack session support in Patchage (as a session manager).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3302 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r-- | src/Patchage.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp index 459e361..2a52efb 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -57,6 +57,11 @@ public: #if defined(HAVE_LASH) || defined(HAVE_JACK_DBUS) DBus* dbus() const { return _dbus; } #endif +#ifdef PATCHAGE_JACK_SESSION + void show_open_session_dialog(); + void show_save_session_dialog(); + void show_save_close_session_dialog(); +#endif #ifdef HAVE_LASH LashProxy* lash_proxy() const { return _lash_proxy; } @@ -129,6 +134,10 @@ protected: void menu_alsa_disconnect(); #endif +#ifdef PATCHAGE_JACK_SESSION + void save_session(bool close); +#endif + boost::shared_ptr<PatchageCanvas> _canvas; std::set< boost::shared_ptr<FlowCanvas::Module> > _pending_resize; @@ -156,6 +165,8 @@ protected: Widget<Gtk::MenuItem> _menu_jack_connect; Widget<Gtk::MenuItem> _menu_jack_disconnect; Widget<Gtk::MenuItem> _menu_open_session; + Widget<Gtk::MenuItem> _menu_save_session; + Widget<Gtk::MenuItem> _menu_save_close_session; Widget<Gtk::MenuItem> _menu_store_positions; Widget<Gtk::MenuItem> _menu_view_arrange; Widget<Gtk::CheckMenuItem> _menu_view_messages; |