refactor: replace all typedef with using (#10594)

This commit is contained in:
Kamikadze 2025-05-31 18:02:02 +05:00 committed by GitHub
parent af2fdb5d58
commit 4078e1d17c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 31 additions and 31 deletions

View file

@ -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>;