/* ------------------------------------------- Copyright ZKA Technologies. ------------------------------------------- */ #ifndef __CORECG_ACCESS_HXX__ #define __CORECG_ACCESS_HXX__ #include #include #include #include #include namespace CG { using namespace Kernel; /// @brief common User interface class. class UIAccessibilty final { explicit UIAccessibilty() = default; ~UIAccessibilty() = default; public: ZKA_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__