diff options
Diffstat (limited to 'Ladybird/FontPluginQt.h')
-rw-r--r-- | Ladybird/FontPluginQt.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Ladybird/FontPluginQt.h b/Ladybird/FontPluginQt.h new file mode 100644 index 0000000000..ef1677b701 --- /dev/null +++ b/Ladybird/FontPluginQt.h @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2022, Andreas Kling <kling@serenityos.org> + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#pragma once + +#include <AK/Vector.h> +#include <LibWeb/Platform/FontPlugin.h> + +namespace Ladybird { + +class FontPluginQt final : public Web::Platform::FontPlugin { +public: + FontPluginQt(); + virtual ~FontPluginQt(); + + virtual String generic_font_name(Web::Platform::GenericFont) override; + + void update_generic_fonts(); + +private: + Vector<String> m_generic_font_names; +}; + +} |