From 5499935ae017305a4b08ef7d0c1dc80739bb5aad Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 20 May 2011 22:27:44 +0000 Subject: 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 --- src/Patchage.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/Patchage.hpp') 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 _canvas; std::set< boost::shared_ptr > _pending_resize; @@ -156,6 +165,8 @@ protected: Widget _menu_jack_connect; Widget _menu_jack_disconnect; Widget _menu_open_session; + Widget _menu_save_session; + Widget _menu_save_close_session; Widget _menu_store_positions; Widget _menu_view_arrange; Widget _menu_view_messages; -- cgit v1.2.1