diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-18 22:09:11 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-18 22:09:11 +0100 |
| commit | f29e7e30fde2b994c86024659b41f56b64dce911 (patch) | |
| tree | aea2324ca72b09fe32b29aa280fc43d4984956ef /public/frameworks | |
| parent | ae9267caf5ec8a247206d660109cd377be6bd6cd (diff) | |
fix: kernel: OpenHeFS and NeFS fixes, PCI and DriveMgr fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'public/frameworks')
| -rw-r--r-- | public/frameworks/LaunchHelpers.fwrk/headers/.keep | 0 | ||||
| -rw-r--r-- | public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h | 29 |
2 files changed, 29 insertions, 0 deletions
diff --git a/public/frameworks/LaunchHelpers.fwrk/headers/.keep b/public/frameworks/LaunchHelpers.fwrk/headers/.keep deleted file mode 100644 index e69de29b..00000000 --- a/public/frameworks/LaunchHelpers.fwrk/headers/.keep +++ /dev/null diff --git a/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h b/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h new file mode 100644 index 00000000..45d53b53 --- /dev/null +++ b/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h @@ -0,0 +1,29 @@ +/* ------------------------------------------- + + Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. + +------------------------------------------- */ + +#pragma once + +#include <CoreFoundation.fwrk/headers/Foundation.h> +#include <CoreFoundation.fwrk/headers/String.h> + +namespace LaunchHelpers { +struct LHLaunchInfo; + +/// @brief Launch information structure. +/// @note This structure is read-only. Modyfing its members wo't have any effect. +struct LHLaunchInfo final { + CF::CFString fExecutablePath; + CF::CFString fWorkingDirectory; + CF::CFString fArguments; + CF::CFString fEnvironment; + CF::CFInteger64 fUID{0}; + CF::CFInteger64 fGID{0}; +}; + +/// @brief Get launch information. +/// @return the launch information structure. +LHLaunchInfo* LHGetLaunchInfo(Void) noexcept; +} // namespace LaunchHelpers
\ No newline at end of file |
