summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/CEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibCore/CEvent.cpp')
-rw-r--r--Libraries/LibCore/CEvent.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Libraries/LibCore/CEvent.cpp b/Libraries/LibCore/CEvent.cpp
new file mode 100644
index 0000000000..eacce964c2
--- /dev/null
+++ b/Libraries/LibCore/CEvent.cpp
@@ -0,0 +1,12 @@
+#include <LibCore/CEvent.h>
+#include <LibCore/CObject.h>
+
+CChildEvent::CChildEvent(Type type, CObject& child)
+ : CEvent(type)
+ , m_child(child.make_weak_ptr())
+{
+}
+
+CChildEvent::~CChildEvent()
+{
+}