mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Services: Remove unused main.cpp and CMakeLists.txt files
We will be moving the variants of these files from Ladybird to the Userland/Services directory. To make the diffs in those commits actually make sense, let's remove these unsused variants ahead of time.
This commit is contained in:
parent
d0dfc0c3e1
commit
d5c2d11ac7
Notes:
github-actions[bot]
2024-11-09 16:56:46 +00:00
Author: https://github.com/trflynn89
Commit: d5c2d11ac7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2251
10 changed files with 0 additions and 360 deletions
|
@ -1,23 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2020-2021, Andreas Kling <andreas@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <ImageDecoder/ConnectionFromClient.h>
|
||||
#include <LibCore/EventLoop.h>
|
||||
#include <LibCore/System.h>
|
||||
#include <LibIPC/SingleServer.h>
|
||||
#include <LibMain/Main.h>
|
||||
|
||||
ErrorOr<int> serenity_main(Main::Arguments)
|
||||
{
|
||||
Core::EventLoop event_loop;
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd thread unix"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
auto client = TRY(IPC::take_over_accepted_client_from_system_server<ImageDecoder::ConnectionFromClient>());
|
||||
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd thread"));
|
||||
return event_loop.exec();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue