ardour/gtk2_ardour/waves_export_dialog.cc

33 lines
1.3 KiB
C++

/*
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.
*/
#include "waves_export_dialog.h"
WavesExportDialog::WavesExportDialog (const std::string &title, ARDOUR::Session* session, ARDOUR::ExportProfileManager::ExportType type)
: WavesDialog ("waves_export_dialog.xml", true, false )
, _export_button (get_waves_button ("export_button"))
, _cancel_button (get_waves_button ("cancel_button"))
, _stop_export_button (get_waves_button ("stop_export_button"))
, _export_progress_bar (get_progressbar ("export_progress_bar"))
, _export_type (type)
, _previous_progress (0)
{
set_title (title);
init (session);
}