2024-04-02 20:32:39 +01:00
|
|
|
#pragma once
|
2025-01-17 18:35:39 +01:00
|
|
|
#include "../helpers/memory/Memory.hpp"
|
2025-12-08 15:04:40 +00:00
|
|
|
|
2024-04-02 20:32:39 +01:00
|
|
|
class CWorkspace;
|
2024-10-19 23:03:29 +01:00
|
|
|
class CMonitor;
|
2024-05-05 17:16:00 +01:00
|
|
|
|
2025-12-08 15:04:40 +00:00
|
|
|
namespace Desktop::View {
|
|
|
|
|
class CWindow;
|
|
|
|
|
class CLayerSurface;
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-05 17:16:00 +01:00
|
|
|
/* Shared pointer to a workspace */
|
2025-05-31 18:02:02 +05:00
|
|
|
using PHLWORKSPACE = SP<CWorkspace>;
|
2024-05-05 17:16:00 +01:00
|
|
|
/* Weak pointer to a workspace */
|
2025-05-31 18:02:02 +05:00
|
|
|
using PHLWORKSPACEREF = WP<CWorkspace>;
|
2024-05-05 17:16:00 +01:00
|
|
|
|
|
|
|
|
/* Shared pointer to a window */
|
2025-12-08 15:04:40 +00:00
|
|
|
using PHLWINDOW = SP<Desktop::View::CWindow>;
|
2024-05-05 17:16:00 +01:00
|
|
|
/* Weak pointer to a window */
|
2025-12-08 15:04:40 +00:00
|
|
|
using PHLWINDOWREF = WP<Desktop::View::CWindow>;
|
2024-04-02 20:32:39 +01:00
|
|
|
|
2024-05-05 17:16:00 +01:00
|
|
|
/* Shared pointer to a layer surface */
|
2025-12-08 15:04:40 +00:00
|
|
|
using PHLLS = SP<Desktop::View::CLayerSurface>;
|
2024-05-05 17:16:00 +01:00
|
|
|
/* Weak pointer to a layer surface */
|
2025-12-08 15:04:40 +00:00
|
|
|
using PHLLSREF = WP<Desktop::View::CLayerSurface>;
|
2024-10-19 23:03:29 +01:00
|
|
|
|
|
|
|
|
/* Shared pointer to a monitor */
|
2025-05-31 18:02:02 +05:00
|
|
|
using PHLMONITOR = SP<CMonitor>;
|
2024-10-19 23:03:29 +01:00
|
|
|
/* Weak pointer to a monitor */
|
2025-12-08 15:04:40 +00:00
|
|
|
using PHLMONITORREF = WP<CMonitor>;
|