/* * Copyright (c) 2022, kleines Filmröllchen * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include class ExportProgressWindow : public GUI::Dialog { C_OBJECT(ExportProgressWindow); public: virtual ~ExportProgressWindow() override = default; ErrorOr initialize_fallibles(); virtual void timer_event(Core::TimerEvent&) override; void set_filename(StringView filename); private: ExportProgressWindow(Window& parent_window, Atomic& wav_percent_written); Atomic& m_wav_percent_written; RefPtr m_progress_bar; RefPtr m_label; };