summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-13 05:51:40 +0100
committerGitHub <noreply@github.com>2026-03-13 05:51:40 +0100
commitf6818b9f8aef95be7e304680aa6dfbc0158d8c52 (patch)
treea1df5aac01a8850835801dc2b0ad9fca802d8f65
parent36df3998e2da288ff02a6b19a877a07203bb37f3 (diff)
parent710c249a9a43b632680d0a45d50ae6fc77c6ad1b (diff)
Merge pull request #9 from ne-foss-org/breaking-changes-api-include
[FEAT] Breaking API changes, rework API design.
-rw-r--r--.github/workflows/kernel-setup.yml1
l---------include/Ne1
-rw-r--r--include/System/NeSystem.h (renamed from include/System/Ne.h)18
-rw-r--r--include/System/X11+Fwd.h8
4 files changed, 17 insertions, 11 deletions
diff --git a/.github/workflows/kernel-setup.yml b/.github/workflows/kernel-setup.yml
index ea307f4..dae8b44 100644
--- a/.github/workflows/kernel-setup.yml
+++ b/.github/workflows/kernel-setup.yml
@@ -23,4 +23,3 @@ jobs:
run: sudo apt update && sudo apt install qemu-utils
- name: Attempt Kernel Setup
run: mkdir tmp && git clone https://github.com/ne-foss-org/ne_kernel.git tmp/kernel && cd tmp/kernel && sudo ./scripts/setup_x64_project.sh
- \ No newline at end of file
diff --git a/include/Ne b/include/Ne
deleted file mode 120000
index 774f674..0000000
--- a/include/Ne
+++ /dev/null
@@ -1 +0,0 @@
-System \ No newline at end of file
diff --git a/include/System/Ne.h b/include/System/NeSystem.h
index b0c3b0c..b494db4 100644
--- a/include/System/Ne.h
+++ b/include/System/NeSystem.h
@@ -3,20 +3,24 @@
// 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_
+#ifndef _NE_SYSTEM_H_
+#define _NE_SYSTEM_H_
#define _NE_SYSTEM 202603L
#include <System/Config.h>
-// POSIX wrapper
+// POSIX wrapper API
#include <libPOSIXWrapper/POSIXKit/unistd.h>
-// IPC
+// IPC API
#include <libMsg/MsgKit/Server.h>
-// System calls
+// System calls API
#include <libSystem/SystemKit/System.h>
-// Sound mixer
+// Sound mixer API
#include <libSoundSystem/SoundSystemKit/VirtualMixer.h>
-#endif // !_NE_H_
+#ifdef _NE_NEED_X11
+#include <System/X11+Fwd.h>
+#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 <System/Ne.h>
+#include <System/NeSystem.h>
// Defs of the X11 protocol.
#include <System/X11/Imports.h>
// XDG' extensions of the X11 protocol.
#include <System/X11/Ext/Imports.h>
+
+#endif
+