mirror of
https://github.com/RGBCube/serenity
synced 2025-08-01 16:37:48 +00:00
Userland: Remove workarounds for LibIPC include order sensitivity
This commit is contained in:
parent
05f41382bb
commit
4fd9e3ab08
17 changed files with 11 additions and 46 deletions
|
@ -4,15 +4,12 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
// FIXME: LibIPC Decoder and Encoder are sensitive to include order here
|
||||
// clang-format off
|
||||
#include <LibGUI/ConnectionToWindowServer.h>
|
||||
// clang-format on
|
||||
#include <AK/Debug.h>
|
||||
#include <FileSystemAccessServer/ConnectionFromClient.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibCore/IODevice.h>
|
||||
#include <LibGUI/Application.h>
|
||||
#include <LibGUI/ConnectionToWindowServer.h>
|
||||
#include <LibGUI/FilePicker.h>
|
||||
#include <LibGUI/MessageBox.h>
|
||||
|
||||
|
|
|
@ -7,11 +7,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibIPC/ConnectionFromClient.h>
|
||||
#include <WindowServer/ScreenLayout.h>
|
||||
|
||||
// Must be included after WindowServer/ScreenLayout.h
|
||||
#include <NotificationServer/NotificationClientEndpoint.h>
|
||||
#include <NotificationServer/NotificationServerEndpoint.h>
|
||||
#include <WindowServer/ScreenLayout.h>
|
||||
|
||||
namespace NotificationServer {
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/HashMap.h>
|
||||
// Need to include this before RequestClientEndpoint.h as that one includes LibIPC/(De En)coder.h, which would bomb if included before this.
|
||||
#include <LibCore/Proxy.h>
|
||||
#include <LibIPC/ConnectionFromClient.h>
|
||||
#include <RequestServer/Forward.h>
|
||||
#include <RequestServer/RequestClientEndpoint.h>
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <LibJS/Parser.h>
|
||||
#include <LibJS/Runtime/ConsoleObject.h>
|
||||
#include <LibWeb/Bindings/MainThreadVM.h>
|
||||
#include <LibWeb/Cookie/ParsedCookie.h>
|
||||
#include <LibWeb/DOM/Document.h>
|
||||
#include <LibWeb/Dump.h>
|
||||
#include <LibWeb/HTML/BrowsingContext.h>
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include <LibJS/Forward.h>
|
||||
#include <LibJS/Heap/Handle.h>
|
||||
#include <LibWeb/CSS/PreferredColorScheme.h>
|
||||
#include <LibWeb/Cookie/ParsedCookie.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/Loader/FileRequest.h>
|
||||
#include <LibWeb/Platform/Timer.h>
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
#include <LibWeb/Cookie/Cookie.h>
|
||||
#include <LibWeb/Cookie/ParsedCookie.h>
|
||||
|
||||
// FIXME: This isn't used here, but the generated IPC fails to compile without this include.
|
||||
#include <LibWeb/WebDriver/Response.h>
|
||||
|
||||
endpoint WebContentClient
|
||||
{
|
||||
did_start_loading(URL url) =|
|
||||
|
|
|
@ -6,15 +6,13 @@
|
|||
|
||||
#include <AK/ScopeGuard.h>
|
||||
#include <Kernel/API/Graphics.h>
|
||||
#include <LibIPC/Decoder.h>
|
||||
#include <LibIPC/Encoder.h>
|
||||
#include <Services/WindowServer/ScreenLayout.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
|
||||
// Must be included after LibIPC/Forward.h
|
||||
#include <LibIPC/Decoder.h>
|
||||
#include <LibIPC/Encoder.h>
|
||||
|
||||
namespace WindowServer {
|
||||
|
||||
bool ScreenLayout::is_valid(String* error_msg) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue