From 29ef359b3cb1cf18ca17e9253602b56e84f2cc33 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 13 Mar 2026 05:48:42 +0100 Subject: [FEAT] Breaking API changes, rework API design. Signed-off-by: Amlal El Mahrouss --- include/System/Ne.h | 22 ---------------------- include/System/NeSystem.h | 26 ++++++++++++++++++++++++++ include/System/X11+Fwd.h | 8 ++++++-- 3 files changed, 32 insertions(+), 24 deletions(-) delete mode 100644 include/System/Ne.h create mode 100644 include/System/NeSystem.h (limited to 'include/System') diff --git a/include/System/Ne.h b/include/System/Ne.h deleted file mode 100644 index b0c3b0c..0000000 --- a/include/System/Ne.h +++ /dev/null @@ -1,22 +0,0 @@ -// 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/ne_system - -#ifndef _NE_H_ -#define _NE_H_ - -#define _NE_SYSTEM 202603L - -#include - -// POSIX wrapper -#include -// IPC -#include -// System calls -#include -// Sound mixer -#include - -#endif // !_NE_H_ diff --git a/include/System/NeSystem.h b/include/System/NeSystem.h new file mode 100644 index 0000000..b494db4 --- /dev/null +++ b/include/System/NeSystem.h @@ -0,0 +1,26 @@ +// 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/ne_system + +#ifndef _NE_SYSTEM_H_ +#define _NE_SYSTEM_H_ + +#define _NE_SYSTEM 202603L + +#include + +// POSIX wrapper API +#include +// IPC API +#include +// System calls API +#include +// Sound mixer API +#include + +#ifdef _NE_NEED_X11 +#include +#endif + +#endif // !_NE_SYSTEM_H_ diff --git a/include/System/X11+Fwd.h b/include/System/X11+Fwd.h index 480c76a..5d30d9c 100644 --- a/include/System/X11+Fwd.h +++ b/include/System/X11+Fwd.h @@ -3,13 +3,17 @@ // Licensed under the Apache License, Version 2.0 (see LICENSE file) // Official repository: https://github.com/ne-foss-org/src -#pragma once +#ifndef _NE_X11_H_ +#define _NE_X11_H_ // NeSystem Header. -#include +#include // Defs of the X11 protocol. #include // XDG' extensions of the X11 protocol. #include + +#endif + -- cgit v1.2.3