summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/EventLoop.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-04-24 10:31:49 +0200
committerAndreas Kling <kling@serenityos.org>2023-04-25 14:48:40 +0200
commitc756e021a7d89d02d2dccab20a1f53244d80bb9e (patch)
tree5ef398c39bc56f8f0a4869d77c103f3ee3149cb4 /Userland/Libraries/LibCore/EventLoop.h
parent203e84c3781aa764379f545d47dd1e7ebe98dd66 (diff)
downloadserenity-c756e021a7d89d02d2dccab20a1f53244d80bb9e.zip
Userland: Remove "Inspector" program and related utilities
This program has never lived up to its original idea, and has been broken for years (property editing, etc). It's also unmaintained and off-by-default since forever. At this point, Inspector is more of a maintenance burden than a feature, so this commit removes it from the system, along with the mechanism in Core::EventLoop that enables it. If we decide we want the feature again in the future, it can be reimplemented better. :^)
Diffstat (limited to 'Userland/Libraries/LibCore/EventLoop.h')
-rw-r--r--Userland/Libraries/LibCore/EventLoop.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Userland/Libraries/LibCore/EventLoop.h b/Userland/Libraries/LibCore/EventLoop.h
index 7a0b10b5cc..8037509e21 100644
--- a/Userland/Libraries/LibCore/EventLoop.h
+++ b/Userland/Libraries/LibCore/EventLoop.h
@@ -36,23 +36,16 @@ namespace Core {
// - Fork events, because the child process event loop needs to clear its events and handlers.
// - Quit events, i.e. the event loop should exit.
// Any event that the event loop needs to wait on or needs to repeatedly handle is stored in a handle, e.g. s_timers.
-//
-// EventLoop has one final responsibility: Handling the InspectorServer connection and processing requests to the Object hierarchy.
class EventLoop {
friend struct EventLoopPusher;
public:
- enum class MakeInspectable {
- No,
- Yes,
- };
-
enum class WaitMode {
WaitForEvents,
PollForEvents,
};
- explicit EventLoop(MakeInspectable = MakeInspectable::No);
+ EventLoop();
~EventLoop();
static void initialize_wake_pipes();