2019-04-10 11:56:55 -03:00
|
|
|
#include <LibCore/CEvent.h>
|
2019-04-10 12:01:54 -03:00
|
|
|
#include <LibCore/CObject.h>
|
2019-04-10 11:56:55 -03:00
|
|
|
|
2019-11-05 16:41:27 -03:00
|
|
|
CChildEvent::CChildEvent(Type type, CObject& child, CObject* insertion_before_child)
|
2019-04-10 11:56:55 -03:00
|
|
|
: CEvent(type)
|
|
|
|
|
, m_child(child.make_weak_ptr())
|
2019-11-05 16:41:27 -03:00
|
|
|
, m_insertion_before_child(insertion_before_child ? insertion_before_child->make_weak_ptr() : nullptr)
|
2019-04-10 11:56:55 -03:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CChildEvent::~CChildEvent()
|
|
|
|
|
{
|
|
|
|
|
}
|