From da70596895d8135e08f8caac6978117697b4c021 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 18 Aug 2024 21:39:29 +0200 Subject: [REFACTOR] Improved project structure. Signed-off-by: Amlal El Mahrouss --- dev/Kernel/Modules/CoreCG/Accessibility.hxx | 49 ----------------------------- 1 file changed, 49 deletions(-) delete mode 100644 dev/Kernel/Modules/CoreCG/Accessibility.hxx (limited to 'dev/Kernel/Modules/CoreCG/Accessibility.hxx') diff --git a/dev/Kernel/Modules/CoreCG/Accessibility.hxx b/dev/Kernel/Modules/CoreCG/Accessibility.hxx deleted file mode 100644 index 743b81ee..00000000 --- a/dev/Kernel/Modules/CoreCG/Accessibility.hxx +++ /dev/null @@ -1,49 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies. - -------------------------------------------- */ - -#ifndef __CORECG_ACCESS_HXX__ -#define __CORECG_ACCESS_HXX__ - -#include -#include -#include -#include -#include - -namespace Kernel -{ - inline Bool cKTSyncCall = false; - - inline float cDeviceWidthAlert = 150; - inline float cDeviceHeightAlert = 141; - - /// @brief common user interface class. - class UIAccessibilty final - { - explicit UIAccessibilty() = default; - - public: - NEWOS_COPY_DELETE(UIAccessibilty); - - static UIAccessibilty& The() - { - static UIAccessibilty the; - return the; - } - - Int64 Width() noexcept - { - return kHandoverHeader->f_GOP.f_Width; - } - - Int64 Height() noexcept - { - return kHandoverHeader->f_GOP.f_Height; - } - }; -} // namespace Kernel - -#endif // !__CORECG_ACCESS_HXX__ -- cgit v1.2.3