mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:27:35 +00:00
Start using WeakPtr for some of the WindowManager window pointers.
This commit is contained in:
parent
16fff6dff7
commit
560405667e
5 changed files with 29 additions and 8 deletions
|
@ -1,11 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Vector.h>
|
||||
#include <AK/Weakable.h>
|
||||
|
||||
class Event;
|
||||
class TimerEvent;
|
||||
|
||||
class Object {
|
||||
class Object : public Weakable<Object> {
|
||||
public:
|
||||
Object(Object* parent = nullptr);
|
||||
virtual ~Object();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue