mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibCore: Add CEvent and make LibGUI/GEvent inherit from it.
This commit is contained in:
12
LibCore/CEvent.cpp
Normal file
12
LibCore/CEvent.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <LibCore/CEvent.h>
|
||||
#include <LibGUI/GObject.h>
|
||||
|
||||
CChildEvent::CChildEvent(Type type, GObject& child)
|
||||
: CEvent(type)
|
||||
, m_child(child.make_weak_ptr())
|
||||
{
|
||||
}
|
||||
|
||||
CChildEvent::~CChildEvent()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user