From 5f12929a80c6cc03bff075be7e1b8dc74cd0f2c4 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 27 Mar 2026 09:06:08 +0100 Subject: [FEAT] frameworks: Update frameworks code, adding new `libSocket` framework. Signed-off-by: Amlal El Mahrouss --- include/ne-system/System/WindowSystems/Wayland.h | 13 +++++++++++ include/ne-system/System/WindowSystems/X11.h | 28 ++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 include/ne-system/System/WindowSystems/Wayland.h create mode 100644 include/ne-system/System/WindowSystems/X11.h (limited to 'include/ne-system/System/WindowSystems') diff --git a/include/ne-system/System/WindowSystems/Wayland.h b/include/ne-system/System/WindowSystems/Wayland.h new file mode 100644 index 0000000..85fe66a --- /dev/null +++ b/include/ne-system/System/WindowSystems/Wayland.h @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (see LICENSE file) +// Official repository: https://github.com/ne-foss-org/src + +#ifndef _SYSTEM_NE_WAYLAND_H_ +#define _SYSTEM_NE_WAYLAND_H_ + +#define _NE_WAYLAND_SYSTEM 202603L + +#include + +#endif // _SYSTEM_NE_WAYLAND_H_ \ No newline at end of file diff --git a/include/ne-system/System/WindowSystems/X11.h b/include/ne-system/System/WindowSystems/X11.h new file mode 100644 index 0000000..e8bf997 --- /dev/null +++ b/include/ne-system/System/WindowSystems/X11.h @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (see LICENSE file) +// Official repository: https://github.com/ne-foss-org/src + +#ifndef _SYSTEM_NE_X11_H_ +#define _SYSTEM_NE_X11_H_ + +#define _NE_X11_SYSTEM 202603L + +struct XFCURSOR; // Cursor struct +struct XFDISPLAY; // Display struct +struct XFCONN; // Connection struct + +typedef struct XFCURSOR* XcursorImage; +typedef struct XFCURSOR** XcursorCursors; + +/// @brief NeSystem Header. +#include + +/// @brief Defs of the X11 protocol. +#include + +/// @brief XDG' extensions of the X11 protocol. +#include + +#endif // _SYSTEM_NE_X11_H_ + -- cgit v1.2.3