From c0099ab36bf9606c5503ceb0fa0d5b64f71c7203 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 17 Apr 2024 09:54:17 +0200 Subject: Unrelated: These changes are important but related to nothing. - Window now becomes Wm, as in Window manager. - Fix entrypoint for FragLib. - Remove CoreEvents to be replaced with Event Server, reworked Display Server. Signed-off-by: Amlal El Mahrouss --- Public/Developer/FragLib/Sources/ImageStart.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Public/Developer/FragLib/Sources/ImageStart.c (limited to 'Public/Developer/FragLib/Sources/ImageStart.c') diff --git a/Public/Developer/FragLib/Sources/ImageStart.c b/Public/Developer/FragLib/Sources/ImageStart.c new file mode 100644 index 00000000..3fbac042 --- /dev/null +++ b/Public/Developer/FragLib/Sources/ImageStart.c @@ -0,0 +1,22 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#include + +/// @brief Application entrypoint. +/// @param void +/// @return void +CA_EXTERN_C VoidType AppMain(VoidType); + +/// @brief Process entrypoint. +/// @param void +/// @return void +CA_EXTERN_C VoidType __ImageStart(VoidType) { + kSharedApplication = RtGetAppPointer(); + CA_MUST_PASS(kSharedApplication); + + AppMain(); +} -- cgit v1.2.3