1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 15:17:45 +00:00

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
parent bdf696e488
commit ddbe6bd7b4
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;