mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 15:07:44 +00:00
Userland: Use snake case names in .ipc files
This updates all .ipc files to have snake case names for IPC methods.
This commit is contained in:
parent
eb21aa65d1
commit
9e22e9ce88
36 changed files with 296 additions and 287 deletions
|
@ -1,40 +1,40 @@
|
|||
endpoint WindowClient
|
||||
{
|
||||
Paint(i32 window_id, Gfx::IntSize window_size, Vector<Gfx::IntRect> rects) =|
|
||||
MouseMove(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta, bool is_drag, Vector<String> mime_types) =|
|
||||
MouseDown(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta) =|
|
||||
MouseDoubleClick(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta) =|
|
||||
MouseUp(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta) =|
|
||||
MouseWheel(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta) =|
|
||||
WindowEntered(i32 window_id) =|
|
||||
WindowLeft(i32 window_id) =|
|
||||
WindowInputEntered(i32 window_id) =|
|
||||
WindowInputLeft(i32 window_id) =|
|
||||
KeyDown(i32 window_id, u32 code_point, u32 key, u32 modifiers, u32 scancode) =|
|
||||
KeyUp(i32 window_id, u32 code_point, u32 key, u32 modifiers, u32 scancode) =|
|
||||
WindowActivated(i32 window_id) =|
|
||||
WindowDeactivated(i32 window_id) =|
|
||||
WindowStateChanged(i32 window_id, bool minimized, bool occluded) =|
|
||||
WindowCloseRequest(i32 window_id) =|
|
||||
WindowResized(i32 window_id, Gfx::IntRect new_rect) =|
|
||||
paint(i32 window_id, Gfx::IntSize window_size, Vector<Gfx::IntRect> rects) =|
|
||||
mouse_move(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta, bool is_drag, Vector<String> mime_types) =|
|
||||
mouse_down(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta) =|
|
||||
mouse_double_click(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta) =|
|
||||
mouse_up(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta) =|
|
||||
mouse_wheel(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta) =|
|
||||
window_entered(i32 window_id) =|
|
||||
window_left(i32 window_id) =|
|
||||
window_input_entered(i32 window_id) =|
|
||||
window_input_left(i32 window_id) =|
|
||||
key_down(i32 window_id, u32 code_point, u32 key, u32 modifiers, u32 scancode) =|
|
||||
key_up(i32 window_id, u32 code_point, u32 key, u32 modifiers, u32 scancode) =|
|
||||
window_activated(i32 window_id) =|
|
||||
window_deactivated(i32 window_id) =|
|
||||
window_state_changed(i32 window_id, bool minimized, bool occluded) =|
|
||||
window_close_request(i32 window_id) =|
|
||||
window_resized(i32 window_id, Gfx::IntRect new_rect) =|
|
||||
|
||||
MenuItemActivated(i32 menu_id, u32 identifier) =|
|
||||
MenuItemEntered(i32 menu_id, u32 identifier) =|
|
||||
MenuItemLeft(i32 menu_id, u32 identifier) =|
|
||||
MenuVisibilityDidChange(i32 menu_id, bool visible) =|
|
||||
menu_item_activated(i32 menu_id, u32 identifier) =|
|
||||
menu_item_entered(i32 menu_id, u32 identifier) =|
|
||||
menu_item_left(i32 menu_id, u32 identifier) =|
|
||||
menu_visibility_did_change(i32 menu_id, bool visible) =|
|
||||
|
||||
ScreenRectChanged(Gfx::IntRect rect) =|
|
||||
screen_rect_changed(Gfx::IntRect rect) =|
|
||||
|
||||
SetWallpaperFinished(bool success) =|
|
||||
set_wallpaper_finished(bool success) =|
|
||||
|
||||
DragAccepted() =|
|
||||
DragCancelled() =|
|
||||
drag_accepted() =|
|
||||
drag_cancelled() =|
|
||||
|
||||
DragDropped(i32 window_id, Gfx::IntPoint mouse_position, [UTF8] String text, HashMap<String,ByteBuffer> mime_data) =|
|
||||
drag_dropped(i32 window_id, Gfx::IntPoint mouse_position, [UTF8] String text, HashMap<String,ByteBuffer> mime_data) =|
|
||||
|
||||
UpdateSystemTheme(Core::AnonymousBuffer theme_buffer) =|
|
||||
update_system_theme(Core::AnonymousBuffer theme_buffer) =|
|
||||
|
||||
DisplayLinkNotification() =|
|
||||
display_link_notification() =|
|
||||
|
||||
Ping() =|
|
||||
ping() =|
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
endpoint WindowManagerClient
|
||||
{
|
||||
WindowRemoved(i32 wm_id, i32 client_id, i32 window_id) =|
|
||||
WindowStateChanged(i32 wm_id, i32 client_id, i32 window_id, i32 parent_client_id, i32 parent_window_id, bool is_active, bool is_minimized, bool is_modal, bool is_frameless, i32 window_type, [UTF8] String title, Gfx::IntRect rect, Optional<i32> progress) =|
|
||||
WindowIconBitmapChanged(i32 wm_id, i32 client_id, i32 window_id, Gfx::ShareableBitmap bitmap) =|
|
||||
WindowRectChanged(i32 wm_id, i32 client_id, i32 window_id, Gfx::IntRect rect) =|
|
||||
AppletAreaSizeChanged(i32 wm_id, Gfx::IntSize size) =|
|
||||
SuperKeyPressed(i32 wm_id) =|
|
||||
window_removed(i32 wm_id, i32 client_id, i32 window_id) =|
|
||||
window_state_changed(i32 wm_id, i32 client_id, i32 window_id, i32 parent_client_id, i32 parent_window_id, bool is_active, bool is_minimized, bool is_modal, bool is_frameless, i32 window_type, [UTF8] String 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) =|
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
endpoint WindowManagerServer
|
||||
{
|
||||
SetEventMask(u32 event_mask) => ()
|
||||
SetManagerWindow(i32 window_id) => ()
|
||||
set_event_mask(u32 event_mask) => ()
|
||||
set_manager_window(i32 window_id) => ()
|
||||
|
||||
SetActiveWindow(i32 client_id, i32 window_id) =|
|
||||
SetWindowMinimized(i32 client_id, i32 window_id, bool minimized) =|
|
||||
StartWindowResize(i32 client_id, i32 window_id) =|
|
||||
PopupWindowMenu(i32 client_id, i32 window_id, Gfx::IntPoint screen_position) =|
|
||||
SetWindowTaskbarRect(i32 client_id, i32 window_id, Gfx::IntRect rect) =|
|
||||
SetAppletAreaPosition(Gfx::IntPoint position) => ()
|
||||
set_active_window(i32 client_id, i32 window_id) =|
|
||||
set_window_minimized(i32 client_id, i32 window_id, bool minimized) =|
|
||||
start_window_resize(i32 client_id, i32 window_id) =|
|
||||
popup_window_menu(i32 client_id, i32 window_id, Gfx::IntPoint screen_position) =|
|
||||
set_window_taskbar_rect(i32 client_id, i32 window_id, Gfx::IntRect rect) =|
|
||||
set_applet_area_position(Gfx::IntPoint position) => ()
|
||||
}
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
endpoint WindowServer
|
||||
{
|
||||
Greet() => (Gfx::IntRect screen_rect, Core::AnonymousBuffer theme_buffer)
|
||||
greet() => (Gfx::IntRect screen_rect, Core::AnonymousBuffer theme_buffer)
|
||||
|
||||
CreateMenubar() => (i32 menubar_id)
|
||||
DestroyMenubar(i32 menubar_id) => ()
|
||||
create_menubar() => (i32 menubar_id)
|
||||
destroy_menubar(i32 menubar_id) => ()
|
||||
|
||||
CreateMenu([UTF8] String menu_title) => (i32 menu_id)
|
||||
DestroyMenu(i32 menu_id) => ()
|
||||
create_menu([UTF8] String menu_title) => (i32 menu_id)
|
||||
destroy_menu(i32 menu_id) => ()
|
||||
|
||||
AddMenuToMenubar(i32 menubar_id, i32 menu_id) => ()
|
||||
add_menu_to_menubar(i32 menubar_id, i32 menu_id) => ()
|
||||
|
||||
AddMenuItem(
|
||||
add_menu_item(
|
||||
i32 menu_id,
|
||||
i32 identifier,
|
||||
i32 submenu_id,
|
||||
|
@ -23,11 +23,11 @@ endpoint WindowServer
|
|||
Gfx::ShareableBitmap icon,
|
||||
bool exclusive) => ()
|
||||
|
||||
AddMenuSeparator(i32 menu_id) => ()
|
||||
add_menu_separator(i32 menu_id) => ()
|
||||
|
||||
UpdateMenuItem(i32 menu_id, i32 identifier, i32 submenu_id, [UTF8] String text, bool enabled, bool checkable, bool checked, bool is_default, [UTF8] String shortcut) => ()
|
||||
update_menu_item(i32 menu_id, i32 identifier, i32 submenu_id, [UTF8] String text, bool enabled, bool checkable, bool checked, bool is_default, [UTF8] String shortcut) => ()
|
||||
|
||||
CreateWindow(
|
||||
create_window(
|
||||
Gfx::IntRect rect,
|
||||
bool auto_position,
|
||||
bool has_alpha_channel,
|
||||
|
@ -47,83 +47,83 @@ endpoint WindowServer
|
|||
[UTF8] String title,
|
||||
i32 parent_window_id) => (i32 window_id)
|
||||
|
||||
DestroyWindow(i32 window_id) => (Vector<i32> destroyed_window_ids)
|
||||
destroy_window(i32 window_id) => (Vector<i32> destroyed_window_ids)
|
||||
|
||||
SetWindowMenubar(i32 window_id, i32 menubar_id) => ()
|
||||
set_window_menubar(i32 window_id, i32 menubar_id) => ()
|
||||
|
||||
SetWindowTitle(i32 window_id, [UTF8] String title) => ()
|
||||
GetWindowTitle(i32 window_id) => ([UTF8] String title)
|
||||
set_window_title(i32 window_id, [UTF8] String title) => ()
|
||||
get_window_title(i32 window_id) => ([UTF8] String title)
|
||||
|
||||
SetWindowProgress(i32 window_id, Optional<i32> progress) =|
|
||||
set_window_progress(i32 window_id, Optional<i32> progress) =|
|
||||
|
||||
SetWindowModified(i32 window_id, bool modified) =|
|
||||
IsWindowModified(i32 window_id) => (bool modified)
|
||||
set_window_modified(i32 window_id, bool modified) =|
|
||||
is_window_modified(i32 window_id) => (bool modified)
|
||||
|
||||
SetWindowRect(i32 window_id, Gfx::IntRect rect) => (Gfx::IntRect rect)
|
||||
GetWindowRect(i32 window_id) => (Gfx::IntRect rect)
|
||||
set_window_rect(i32 window_id, Gfx::IntRect rect) => (Gfx::IntRect rect)
|
||||
get_window_rect(i32 window_id) => (Gfx::IntRect rect)
|
||||
|
||||
SetWindowMinimumSize(i32 window_id, Gfx::IntSize size) => ()
|
||||
GetWindowMinimumSize(i32 window_id) => (Gfx::IntSize size)
|
||||
set_window_minimum_size(i32 window_id, Gfx::IntSize size) => ()
|
||||
get_window_minimum_size(i32 window_id) => (Gfx::IntSize size)
|
||||
|
||||
GetAppletRectOnScreen(i32 window_id) => (Gfx::IntRect rect)
|
||||
get_applet_rect_on_screen(i32 window_id) => (Gfx::IntRect rect)
|
||||
|
||||
StartWindowResize(i32 window_id) =|
|
||||
start_window_resize(i32 window_id) =|
|
||||
|
||||
IsMaximized(i32 window_id) => (bool maximized)
|
||||
is_maximized(i32 window_id) => (bool maximized)
|
||||
|
||||
InvalidateRect(i32 window_id, Vector<Gfx::IntRect> rects, bool ignore_occlusion) =|
|
||||
DidFinishPainting(i32 window_id, Vector<Gfx::IntRect> rects) =|
|
||||
invalidate_rect(i32 window_id, Vector<Gfx::IntRect> rects, bool ignore_occlusion) =|
|
||||
did_finish_painting(i32 window_id, Vector<Gfx::IntRect> rects) =|
|
||||
|
||||
SetGlobalCursorTracking(i32 window_id, bool enabled) => ()
|
||||
SetWindowOpacity(i32 window_id, float opacity) => ()
|
||||
set_global_cursor_tracking(i32 window_id, bool enabled) => ()
|
||||
set_window_opacity(i32 window_id, float opacity) => ()
|
||||
|
||||
SetWindowAlphaHitThreshold(i32 window_id, float threshold) => ()
|
||||
set_window_alpha_hit_threshold(i32 window_id, float threshold) => ()
|
||||
|
||||
SetWindowBackingStore(i32 window_id, i32 bpp, i32 pitch, IPC::File anon_file, i32 serial, bool has_alpha_channel, Gfx::IntSize size, bool flush_immediately) => ()
|
||||
set_window_backing_store(i32 window_id, i32 bpp, i32 pitch, IPC::File anon_file, i32 serial, bool has_alpha_channel, Gfx::IntSize size, bool flush_immediately) => ()
|
||||
|
||||
SetWindowHasAlphaChannel(i32 window_id, bool has_alpha_channel) => ()
|
||||
MoveWindowToFront(i32 window_id) => ()
|
||||
SetFullscreen(i32 window_id, bool fullscreen) => ()
|
||||
SetFrameless(i32 window_id, bool frameless) => ()
|
||||
PopupMenu(i32 menu_id, Gfx::IntPoint screen_position) => ()
|
||||
DismissMenu(i32 menu_id) => ()
|
||||
set_window_has_alpha_channel(i32 window_id, bool has_alpha_channel) => ()
|
||||
move_window_to_front(i32 window_id) => ()
|
||||
set_fullscreen(i32 window_id, bool fullscreen) => ()
|
||||
set_frameless(i32 window_id, bool frameless) => ()
|
||||
popup_menu(i32 menu_id, Gfx::IntPoint screen_position) => ()
|
||||
dismiss_menu(i32 menu_id) => ()
|
||||
|
||||
SetWallpaper(String path) =|
|
||||
set_wallpaper(String path) =|
|
||||
|
||||
SetBackgroundColor(String background_color) => ()
|
||||
SetWallpaperMode(String mode) => ()
|
||||
set_background_color(String background_color) => ()
|
||||
set_wallpaper_mode(String mode) => ()
|
||||
|
||||
SetResolution(Gfx::IntSize resolution, int scale_factor) => (bool success, Gfx::IntSize resolution, int scale_factor)
|
||||
SetWindowIconBitmap(i32 window_id, Gfx::ShareableBitmap icon) => ()
|
||||
set_resolution(Gfx::IntSize resolution, int scale_factor) => (bool success, Gfx::IntSize resolution, int scale_factor)
|
||||
set_window_icon_bitmap(i32 window_id, Gfx::ShareableBitmap icon) => ()
|
||||
|
||||
GetWallpaper() => (String path)
|
||||
SetWindowCursor(i32 window_id, i32 cursor_type) => ()
|
||||
SetWindowCustomCursor(i32 window_id, Gfx::ShareableBitmap cursor) => ()
|
||||
get_wallpaper() => (String path)
|
||||
set_window_cursor(i32 window_id, i32 cursor_type) => ()
|
||||
set_window_custom_cursor(i32 window_id, Gfx::ShareableBitmap cursor) => ()
|
||||
|
||||
StartDrag([UTF8] String text, HashMap<String,ByteBuffer> mime_data, Gfx::ShareableBitmap drag_bitmap) => (bool started)
|
||||
start_drag([UTF8] String text, HashMap<String,ByteBuffer> mime_data, Gfx::ShareableBitmap drag_bitmap) => (bool started)
|
||||
|
||||
SetSystemTheme(String theme_path, [UTF8] String theme_name) => (bool success)
|
||||
GetSystemTheme() => ([UTF8] String theme_name)
|
||||
RefreshSystemTheme() =|
|
||||
set_system_theme(String theme_path, [UTF8] String theme_name) => (bool success)
|
||||
get_system_theme() => ([UTF8] String theme_name)
|
||||
refresh_system_theme() =|
|
||||
|
||||
SetWindowBaseSizeAndSizeIncrement(i32 window_id, Gfx::IntSize base_size, Gfx::IntSize size_increment) => ()
|
||||
SetWindowResizeAspectRatio(i32 window_id, Optional<Gfx::IntSize> resize_aspect_ratio) => ()
|
||||
set_window_base_size_and_size_increment(i32 window_id, Gfx::IntSize base_size, Gfx::IntSize size_increment) => ()
|
||||
set_window_resize_aspect_ratio(i32 window_id, Optional<Gfx::IntSize> resize_aspect_ratio) => ()
|
||||
|
||||
EnableDisplayLink() =|
|
||||
DisableDisplayLink() =|
|
||||
enable_display_link() =|
|
||||
disable_display_link() =|
|
||||
|
||||
GetGlobalCursorPosition() => (Gfx::IntPoint position)
|
||||
get_global_cursor_position() => (Gfx::IntPoint position)
|
||||
|
||||
SetMouseAcceleration(float factor) => ()
|
||||
GetMouseAcceleration() => (float factor)
|
||||
set_mouse_acceleration(float factor) => ()
|
||||
get_mouse_acceleration() => (float factor)
|
||||
|
||||
SetScrollStepSize(u32 step_size) => ()
|
||||
GetScrollStepSize() => (u32 step_size)
|
||||
set_scroll_step_size(u32 step_size) => ()
|
||||
get_scroll_step_size() => (u32 step_size)
|
||||
|
||||
GetScreenBitmap() => (Gfx::ShareableBitmap bitmap)
|
||||
get_screen_bitmap() => (Gfx::ShareableBitmap bitmap)
|
||||
|
||||
Pong() =|
|
||||
pong() =|
|
||||
|
||||
SetDoubleClickSpeed(int speed) => ()
|
||||
GetDoubleClickSpeed() => (int speed)
|
||||
set_double_click_speed(int speed) => ()
|
||||
get_double_click_speed() => (int speed)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue