// Copyright 2020 Citra Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #include #include #include "core/dumping/ffmpeg_backend.h" namespace Ui { class DumpingDialog; } class QLineEdit; class DumpingDialog : public QDialog { Q_OBJECT public: explicit DumpingDialog(QWidget* parent); ~DumpingDialog() override; QString GetFilePath() const; void ApplyConfiguration(); private: void Populate(); void PopulateEncoders(); void SetConfiguration(); void OnToolButtonClicked(); void OpenOptionsDialog(const std::vector& specific_options, const std::vector& generic_options, QLineEdit* line_edit); std::unique_ptr ui; QString last_path; std::vector formats; std::vector format_generic_options; std::vector video_encoders; std::vector audio_encoders; std::vector encoder_generic_options; };