mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:02:45 +00:00 
			
		
		
		
	 5e1499d104
			
		
	
	
		5e1499d104
		
	
	
	
	
		
			
			This commit un-deprecates DeprecatedString, and repurposes it as a byte
string.
As the null state has already been removed, there are no other
particularly hairy blockers in repurposing this type as a byte string
(what it _really_ is).
This commit is auto-generated:
  $ xs=$(ack -l \bDeprecatedString\b\|deprecated_string AK Userland \
    Meta Ports Ladybird Tests Kernel)
  $ perl -pie 's/\bDeprecatedString\b/ByteString/g;
    s/deprecated_string/byte_string/g' $xs
  $ clang-format --style=file -i \
    $(git diff --name-only | grep \.cpp\|\.h)
  $ gn format $(git ls-files '*.gn' '*.gni')
		
	
			
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			991 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			991 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #include <LibGfx/ShareableBitmap.h>
 | |
| 
 | |
| endpoint WindowManagerClient
 | |
| {
 | |
|     window_removed(i32 wm_id, i32 client_id, i32 window_id) =|
 | |
|     window_state_changed(i32 wm_id, i32 client_id, i32 window_id, u32 workspace_row, u32 workspace_column, bool is_active, bool is_blocking, bool is_minimized, bool is_frameless, i32 window_type, [UTF8] ByteString title, Gfx::IntRect rect, Optional<i32> progress) =|
 | |
|     window_icon_bitmap_changed(i32 wm_id, i32 client_id, i32 window_id, Gfx::ShareableBitmap bitmap) =|
 | |
|     window_rect_changed(i32 wm_id, i32 client_id, i32 window_id, Gfx::IntRect rect) =|
 | |
|     applet_area_size_changed(i32 wm_id, Gfx::IntSize size) =|
 | |
|     super_key_pressed(i32 wm_id) =|
 | |
|     super_space_key_pressed(i32 wm_id) =|
 | |
|     super_d_key_pressed(i32 wm_id) =|
 | |
|     super_digit_key_pressed(i32 wm_id, u8 digit) =|
 | |
|     workspace_changed(i32 wm_id, u32 row, u32 column) =|
 | |
|     keymap_changed(i32 wm_id, [UTF8] ByteString keymap) =|
 | |
|     add_to_quick_launch(i32 wm_id, i32 process_id) =|
 | |
| }
 |