summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-10 12:06:06 +0100
committerGitHub <noreply@github.com>2026-03-10 12:06:06 +0100
commit3207a534cbb1bbb1a926fc0eecefab2c5541eba8 (patch)
treec95cc94e0f5318415d5dfcd3477c65db071df7b4 /include
parent3030eabdfe1333428eb621a4330a54f83f5d2e7b (diff)
parentb04ea5dfdf87f9ad1004ece99d2a85acc5b44a1e (diff)
Merge pull request #8 from ne-foss-org/ne-system-includes
[CHORE] Update include headers of the NeSystem.
Diffstat (limited to 'include')
-rw-r--r--include/Drivers/Ne.h10
-rw-r--r--include/System/Ne.h17
-rw-r--r--include/System/X11+Fwd.h11
3 files changed, 30 insertions, 8 deletions
diff --git a/include/Drivers/Ne.h b/include/Drivers/Ne.h
new file mode 100644
index 0000000..cee3ab3
--- /dev/null
+++ b/include/Drivers/Ne.h
@@ -0,0 +1,10 @@
+// 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 _NE_DDK_H_
+#define _NE_DDK_H_
+
+#include <libDDK/DriverKit/DriverKit.h>
+
+#endif
diff --git a/include/System/Ne.h b/include/System/Ne.h
index 7b54607..9bacc81 100644
--- a/include/System/Ne.h
+++ b/include/System/Ne.h
@@ -1,8 +1,21 @@
// 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
+// Official repository: https://github.com/ne-foss-org/ne_system
-#pragma once
+#ifndef _NE_H_
+#define _NE_H_
+
+#define _NE_SYSTEM 202603L
#include <System/Config.h>
+
+// POSIX wrapper
+#include <libPOSIXWrapper/POSIXKit/unistd.h>
+// IPC
+#include <libMsg/MsgKit/Server.h>
+// System calls
#include <libSystem/SystemKit/System.h>
+// Sound mixer
+#include <libSoundSystem/SoundSystemKit/VirtualMixer.h>
+
+#endif // !_NE_H_
diff --git a/include/System/X11+Fwd.h b/include/System/X11+Fwd.h
index 4de1193..e18136c 100644
--- a/include/System/X11+Fwd.h
+++ b/include/System/X11+Fwd.h
@@ -4,12 +4,11 @@
#pragma once
+// NeSystem Header.
#include <System/Ne.h>
-/// @brief This file forward declares X11 types.
-
-typedef SInt32 WINDOW;
-typedef SInt32 CURSOR;
-typedef SInt32 FONT;
-
+// Defs of the X11 protocol.
+#include <System/X11/Imports.h>
+// XDG' extensions of the X11 protocol.
+#include <System/X11/Ext/Imports.h>