/* Copyright (C) 2014 Waves Audio Ltd. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef __gtk2_ardour_session_dialog_h__ #define __gtk2_ardour_session_dialog_h__ #include "pbd/signals.h" #include #include "waves_dialog.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "ardour/utils.h" #include "ardour_dialog.h" #include "window_manager.h" class TracksControlPanel; class EngineControl; #define MAX_RECENT_SESSION_COUNTS 10 class SessionDialog : public WavesDialog { public: SessionDialog (WM::Proxy& system_configuration_dialog, bool require_new, const std::string& session_name, const std::string& session_path, const std::string& template_name, bool cancel_not_quit); ~SessionDialog (); private: WavesButton& _quit_button; WavesButton& _new_session_button; WavesButton& _open_selected_button; WavesButton& _open_saved_session_button; WavesButton& _system_configuration_button; WavesButton* _recent_session_button[MAX_RECENT_SESSION_COUNTS]; Gtk::Label& _session_details_label; WM::Proxy& _system_configuration_dialog; #include "session_dialog.logic.h" }; #endif /* __gtk2_ardour_session_dialog_h__ */