Emoji.h 522 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2019-2020, Sergey Bugaev <bugaevc@serenityos.org>
  3. * Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
  4. *
  5. * SPDX-License-Identifier: BSD-2-Clause
  6. */
  7. #pragma once
  8. #include <AK/Forward.h>
  9. #include <AK/Types.h>
  10. namespace Gfx {
  11. class Bitmap;
  12. class Emoji {
  13. public:
  14. static Gfx::Bitmap const* emoji_for_code_point(u32 code_point);
  15. static Gfx::Bitmap const* emoji_for_code_points(Span<u32> const&);
  16. static Gfx::Bitmap const* emoji_for_code_point_iterator(Utf8CodePointIterator&);
  17. };
  18. }