1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +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

@ -7,11 +7,11 @@
#pragma once
#include <AK/Function.h>
#include <LibCore/Object.h>
#include <LibCore/EventReceiver.h>
namespace Core {
class Notifier final : public Object {
class Notifier final : public EventReceiver {
C_OBJECT(Notifier);
public:
@ -37,7 +37,7 @@ public:
void event(Core::Event&) override;
private:
Notifier(int fd, Type type, Object* parent = nullptr);
Notifier(int fd, Type type, EventReceiver* parent = nullptr);
int m_fd { -1 };
Type m_type { Type::None };