From bca7804bb6e1bf5ce5a99b9ae4806be25e36993c Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sat, 27 Apr 2024 12:43:12 +0100 Subject: internal: Window storage rework - part 1 (#5762) * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks --- src/defines.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/defines.hpp') diff --git a/src/defines.hpp b/src/defines.hpp index 4df72103..809a6fc5 100644 --- a/src/defines.hpp +++ b/src/defines.hpp @@ -3,3 +3,10 @@ #include "helpers/WLListener.hpp" #include "helpers/Color.hpp" #include "macros.hpp" + +class CWindow; + +/* Shared pointer to a window */ +typedef SP PHLWINDOW; +/* Weak pointer to a window */ +typedef WP PHLWINDOWREF; -- cgit v1.2.3