Userland: Rename Core::Object to Core::EventReceiver

This is a more precise description of what this class actually does.
This commit is contained in:
Andreas Kling 2023-08-06 18:09:39 +02:00 committed by Jelle Raaijmakers
commit ddbe6bd7b4
Notes: sideshowbarker 2024-07-17 01:13:25 +09:00
128 changed files with 399 additions and 401 deletions

View file

@ -51,7 +51,7 @@ void Endpoint::event(Core::Event& event)
case Command::Type::UCINewGame:
return handle_ucinewgame();
default:
Object::event(event);
EventReceiver::event(event);
break;
}
}

View file

@ -8,13 +8,13 @@
#pragma once
#include <LibChess/UCICommand.h>
#include <LibCore/EventReceiver.h>
#include <LibCore/File.h>
#include <LibCore/Notifier.h>
#include <LibCore/Object.h>
namespace Chess::UCI {
class Endpoint : public Core::Object {
class Endpoint : public Core::EventReceiver {
C_OBJECT(Endpoint)
public:
virtual ~Endpoint() override = default;