#pragma once #include #include #include class Font; class GFontDatabase { public: static GFontDatabase& the(); RetainPtr get_by_name(const String&); void for_each_font(Function); private: GFontDatabase(); ~GFontDatabase(); HashMap m_name_to_path; };