diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-13 05:51:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-13 05:51:40 +0100 |
| commit | f6818b9f8aef95be7e304680aa6dfbc0158d8c52 (patch) | |
| tree | a1df5aac01a8850835801dc2b0ad9fca802d8f65 /include/System | |
| parent | 36df3998e2da288ff02a6b19a877a07203bb37f3 (diff) | |
| parent | 710c249a9a43b632680d0a45d50ae6fc77c6ad1b (diff) | |
[FEAT] Breaking API changes, rework API design.
Diffstat (limited to 'include/System')
| -rw-r--r-- | include/System/NeSystem.h (renamed from include/System/Ne.h) | 18 | ||||
| -rw-r--r-- | include/System/X11+Fwd.h | 8 |
2 files changed, 17 insertions, 9 deletions
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 + |
