mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 04:37:22 +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
Notes:
sideshowbarker
2024-07-17 01:13:25 +09:00
Author: https://github.com/awesomekling
Commit: ddbe6bd7b4
Pull-request: https://github.com/SerenityOS/serenity/pull/20398
Reviewed-by: https://github.com/gmta ✅
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