1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +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

@ -282,7 +282,7 @@ ErrorOr<void> Service::did_exit(int status)
}
Service::Service(Core::ConfigFile const& config, StringView name)
: Core::Object(nullptr)
: Core::EventReceiver(nullptr)
{
VERIFY(config.has_group(name));

View file

@ -10,10 +10,10 @@
#include <AK/RefPtr.h>
#include <LibCore/Account.h>
#include <LibCore/ElapsedTimer.h>
#include <LibCore/EventReceiver.h>
#include <LibCore/Notifier.h>
#include <LibCore/Object.h>
class Service final : public Core::Object {
class Service final : public Core::EventReceiver {
C_OBJECT_ABSTRACT(Service)
public: