// This file Copyright © Mnemosyne LLC. // It may be used under GPLv2 (SPDX: GPL-2.0-only), GPLv3 (SPDX: GPL-3.0-only), // or any future license endorsed by Mnemosyne LLC. // License text can be found in the licenses/ folder. #pragma once #include #include #include #include #include #include class Session; class PrefsDialog : public Gtk::Dialog { public: PrefsDialog( BaseObjectType* cast_item, Glib::RefPtr const& builder, Gtk::Window& parent, Glib::RefPtr const& core); ~PrefsDialog() override; TR_DISABLE_COPY_MOVE(PrefsDialog) static std::unique_ptr create(Gtk::Window& parent, Glib::RefPtr const& core); private: class Impl; std::unique_ptr const impl_; }; auto inline constexpr MAIN_WINDOW_REFRESH_INTERVAL_SECONDS = 2; auto inline constexpr SECONDARY_WINDOW_REFRESH_INTERVAL_SECONDS = 2;