mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 20:55:08 +00:00

Get rid of the dedicated Emoji class to make it easier to store a null value signifying a failed lookup. This allows us to remember failed lookups, making subsequent failures for the same codepoint much faster. :^)
10 lines
154 B
C++
10 lines
154 B
C++
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
class GraphicsBitmap;
|
|
|
|
class Emoji {
|
|
public:
|
|
static const GraphicsBitmap* emoji_for_codepoint(u32 codepoint);
|
|
};
|