diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-13 11:49:38 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-13 11:49:38 +0200 |
| commit | f59970eaf733118db543c7c37c49d32ca53e60aa (patch) | |
| tree | b5d0cb728fa022ebe6ea56396054d8da8f45e5d6 | |
| parent | c3b3b7727b9e2e7cbddcd0997c53d96ba3bb0e82 (diff) | |
kernel: moved Servers to Private directory.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
| -rw-r--r-- | Private/Servers/.gitkeep (renamed from Servers/.gitkeep) | 0 | ||||
| -rw-r--r-- | Private/Servers/CoreDisplay/Headers/.gitkeep | 0 | ||||
| -rw-r--r-- | Private/Servers/CoreDisplay/README.txt | 4 | ||||
| -rw-r--r-- | Private/Servers/CoreDisplay/Sources/CoreDisplay.c (renamed from Servers/DisplayManager/Server.c) | 10 |
4 files changed, 10 insertions, 4 deletions
diff --git a/Servers/.gitkeep b/Private/Servers/.gitkeep index e69de29b..e69de29b 100644 --- a/Servers/.gitkeep +++ b/Private/Servers/.gitkeep diff --git a/Private/Servers/CoreDisplay/Headers/.gitkeep b/Private/Servers/CoreDisplay/Headers/.gitkeep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/Private/Servers/CoreDisplay/Headers/.gitkeep diff --git a/Private/Servers/CoreDisplay/README.txt b/Private/Servers/CoreDisplay/README.txt new file mode 100644 index 00000000..669ec31c --- /dev/null +++ b/Private/Servers/CoreDisplay/README.txt @@ -0,0 +1,4 @@ +CoreDisplay is the window manager of NewOS. +Written in C by Amlal EL Mahrouss. + +Unlike X it is not networked, but can be extend to with NetworkDisplay. diff --git a/Servers/DisplayManager/Server.c b/Private/Servers/CoreDisplay/Sources/CoreDisplay.c index 673cf479..c681730c 100644 --- a/Servers/DisplayManager/Server.c +++ b/Private/Servers/CoreDisplay/Sources/CoreDisplay.c @@ -3,16 +3,17 @@ Copyright Mahrouss Logic File: Server.c - Purpose: DisplayManager server. + Purpose: Display server. ------------------------------------------- */ -#include "Server.h" +#include <CoreDisplay.h> +#include <IPCWrapper.h> /// @brief Called when the server starts. DWordType ServerStartup(VoidType) { - DMInitDisplay(kDMNoFlags); // init standard display. Need to notify other endpoits. + CDInitDisplay(kDMNoFlags); // init standard display. Need to notify other endpoits. // as well. // @@ -24,7 +25,8 @@ DWordType ServerStartup(VoidType) /// @brief Called when the server shuts down. DWordType ServerShutdown(VoidType) { - DMCloseDisplay(); /// takes no arguments. + CDCloseDisplay(); /// takes no arguments. return 0; } +/// EOF. |
