summaryrefslogtreecommitdiff
path: root/src/desktop
diff options
context:
space:
mode:
authorKamikadze <40305144+Kam1k4dze@users.noreply.github.com>2025-05-31 18:02:02 +0500
committerGitHub <noreply@github.com>2025-05-31 14:02:02 +0100
commit4078e1d17c0fb1439ee5a0ba1e539f06a8f47aab (patch)
tree33a5bed332c5ce217b9e885f56e07c9e732b35fa /src/desktop
parentaf2fdb5d58f5d3017aafd78a8ddafb40f710e34b (diff)
refactor: replace all `typedef` with `using` (#10594)
Diffstat (limited to 'src/desktop')
-rw-r--r--src/desktop/DesktopTypes.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/desktop/DesktopTypes.hpp b/src/desktop/DesktopTypes.hpp
index 080f13d3..f724c7b9 100644
--- a/src/desktop/DesktopTypes.hpp
+++ b/src/desktop/DesktopTypes.hpp
@@ -6,21 +6,21 @@ class CLayerSurface;
class CMonitor;
/* Shared pointer to a workspace */
-typedef SP<CWorkspace> PHLWORKSPACE;
+using PHLWORKSPACE = SP<CWorkspace>;
/* Weak pointer to a workspace */
-typedef WP<CWorkspace> PHLWORKSPACEREF;
+using PHLWORKSPACEREF = WP<CWorkspace>;
/* Shared pointer to a window */
-typedef SP<CWindow> PHLWINDOW;
+using PHLWINDOW = SP<CWindow>;
/* Weak pointer to a window */
-typedef WP<CWindow> PHLWINDOWREF;
+using PHLWINDOWREF = WP<CWindow>;
/* Shared pointer to a layer surface */
-typedef SP<CLayerSurface> PHLLS;
+using PHLLS = SP<CLayerSurface>;
/* Weak pointer to a layer surface */
-typedef WP<CLayerSurface> PHLLSREF;
+using PHLLSREF = WP<CLayerSurface>;
/* Shared pointer to a monitor */
-typedef SP<CMonitor> PHLMONITOR;
+using PHLMONITOR = SP<CMonitor>;
/* Weak pointer to a monitor */
-typedef WP<CMonitor> PHLMONITORREF;
+using PHLMONITORREF = WP<CMonitor>;