summaryrefslogtreecommitdiffhomepage
path: root/include/System
diff options
context:
space:
mode:
Diffstat (limited to 'include/System')
-rw-r--r--include/System/Config.h3
-rw-r--r--include/System/NeSystem.h23
-rw-r--r--include/System/Wayland.h7
-rw-r--r--include/System/X11.h (renamed from include/System/X11+Fwd.h)6
4 files changed, 23 insertions, 16 deletions
diff --git a/include/System/Config.h b/include/System/Config.h
index 9a7bfb3..474a107 100644
--- a/include/System/Config.h
+++ b/include/System/Config.h
@@ -10,7 +10,8 @@
#define _SUBSYSTEM_NET 0x1000
#define _SUBSYSTEM_DDK 0x1000
#define _SUBSYSTEM_SYS 0x1000
-#define _NEKERNEL 202603
+
+#define _NEKERNEL 202603L
#include <CoreFoundation.fwrk/headers/Foundation.h>
#include <DiskImage.fwrk/headers/DiskImage.h>
diff --git a/include/System/NeSystem.h b/include/System/NeSystem.h
index b494db4..832db9e 100644
--- a/include/System/NeSystem.h
+++ b/include/System/NeSystem.h
@@ -3,24 +3,31 @@
// 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_
+#ifndef _SYSTEM_NE_SYSTEM_H_
+#define _SYSTEM_NE_SYSTEM_H_
#define _NE_SYSTEM 202603L
#include <System/Config.h>
-// POSIX wrapper API
+/// @brief POSIX wrapper API
#include <libPOSIXWrapper/POSIXKit/unistd.h>
-// IPC API
+
+/// @brief IPC API
#include <libMsg/MsgKit/Server.h>
-// System calls API
+
+/// @brief System calls API
#include <libSystem/SystemKit/System.h>
-// Sound mixer API
+
+/// @brief Sound mixer API
#include <libSoundSystem/SoundSystemKit/VirtualMixer.h>
#ifdef _NE_NEED_X11
-#include <System/X11+Fwd.h>
+#include <System/X11.h>
+#endif
+
+#ifdef _NE_NEED_WAYLAND
+#include <System/Wayland.h>
#endif
-#endif // !_NE_SYSTEM_H_
+#endif // _SYSTEM_NE_SYSTEM_H_
diff --git a/include/System/Wayland.h b/include/System/Wayland.h
index 3c7cfb0..2b4afe5 100644
--- a/include/System/Wayland.h
+++ b/include/System/Wayland.h
@@ -3,12 +3,11 @@
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/src
-#ifndef _NE_WAYLAND_H_
-#define _NE_WAYLAND_H_
+#ifndef _SYSTEM_NE_WAYLAND_H_
+#define _SYSTEM_NE_WAYLAND_H_
#define _NE_WAYLAND_SYSTEM 202603L
#include <System/X11+Fwd.h>
-
-#endif \ No newline at end of file
+#endif // _SYSTEM_NE_WAYLAND_H_ \ No newline at end of file
diff --git a/include/System/X11+Fwd.h b/include/System/X11.h
index f06a3f4..3f4d318 100644
--- a/include/System/X11+Fwd.h
+++ b/include/System/X11.h
@@ -3,8 +3,8 @@
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/src
-#ifndef _NE_X11_H_
-#define _NE_X11_H_
+#ifndef _SYSTEM_NE_X11_H_
+#define _SYSTEM_NE_X11_H_
#define _NE_X11_SYSTEM 202603L
@@ -17,5 +17,5 @@
// XDG' extensions of the X11 protocol.
#include <System/X11/Ext/Imports.h>
-#endif
+#endif // _SYSTEM_NE_X11_H_