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:
Timothy Flynn 2024-11-09 10:17:04 -05:00 committed by Andreas Kling
commit d5c2d11ac7
Notes: github-actions[bot] 2024-11-09 16:56:46 +00:00
10 changed files with 0 additions and 360 deletions

View file

@ -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();
}