mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +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
|
@ -10,12 +10,12 @@
|
|||
|
||||
#include <AK/Concepts.h>
|
||||
#include <LibCore/EventLoop.h>
|
||||
#include <LibCore/Object.h>
|
||||
#include <LibCore/EventReceiver.h>
|
||||
|
||||
namespace Core {
|
||||
|
||||
template<typename Result, typename TError>
|
||||
class Promise : public Object {
|
||||
class Promise : public EventReceiver {
|
||||
C_OBJECT(Promise);
|
||||
|
||||
public:
|
||||
|
@ -116,8 +116,8 @@ private:
|
|||
}
|
||||
|
||||
Promise() = default;
|
||||
Promise(Object* parent)
|
||||
: Object(parent)
|
||||
Promise(EventReceiver* parent)
|
||||
: EventReceiver(parent)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue