mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:27:34 +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:
parent
bdf696e488
commit
ddbe6bd7b4
128 changed files with 399 additions and 401 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue