mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:12:44 +00:00 
			
		
		
		
	 0d8aaaaa44
			
		
	
	
		0d8aaaaa44
		
	
	
	
	
		
			
			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);
 | |
| };
 |