From 84cc6ff6f43b48383248282743efc514946db641 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 28 Mar 2024 13:05:28 +0100 Subject: Kernel: :boom: breaking changes, Update API and the HCORE based macros, rename HCore to NewOS. Signed-off-by: Amlal El Mahrouss --- Private/CFKit/GUIDWizard.hpp | 6 +++--- Private/CFKit/GUIDWrapper.hpp | 4 ++-- Private/CFKit/IPCEndpoint.hxx | 4 ++-- Private/CFKit/Property.hpp | 4 ++-- Private/CFKit/URL.hpp | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'Private/CFKit') diff --git a/Private/CFKit/GUIDWizard.hpp b/Private/CFKit/GUIDWizard.hpp index 13cc668b..f7cc212e 100644 --- a/Private/CFKit/GUIDWizard.hpp +++ b/Private/CFKit/GUIDWizard.hpp @@ -15,7 +15,7 @@ #include #include -namespace HCore::XRN::Version1 { +namespace NewOS::XRN::Version1 { Ref make_sequence(const ArrayList& seq); -ErrorOr> try_guid_to_string(Ref& guid); -} // namespace HCore::XRN::Version1 +ErrorOr> try_guid_to_string(Ref& guid); +} // namespace NewOS::XRN::Version1 diff --git a/Private/CFKit/GUIDWrapper.hpp b/Private/CFKit/GUIDWrapper.hpp index c237985c..8a71c614 100644 --- a/Private/CFKit/GUIDWrapper.hpp +++ b/Private/CFKit/GUIDWrapper.hpp @@ -15,7 +15,7 @@ #define kXRNNil "@{........-....-M...-N...-............}" // eXtensible Resource Information -namespace HCore::XRN { +namespace NewOS::XRN { union GUIDSequence { alignas(8) UShort u8[16]; alignas(8) UShort u16[8]; @@ -46,4 +46,4 @@ class GUID final { private: GUIDSequence m_UUID; }; -} // namespace HCore::XRN +} // namespace NewOS::XRN diff --git a/Private/CFKit/IPCEndpoint.hxx b/Private/CFKit/IPCEndpoint.hxx index 7f6f3f22..a6e8f90d 100644 --- a/Private/CFKit/IPCEndpoint.hxx +++ b/Private/CFKit/IPCEndpoint.hxx @@ -19,9 +19,9 @@ #define kRemoteInvalid "00.00.00.00:00000000" #define kRemoteMaxLen 21 -namespace HCore { +namespace NewOS { typedef UIntPtr ipc_method_type; typedef Char ipc_remote_type[kRemoteMaxLen]; -} // namespace HCore +} // namespace NewOS #endif // _INC_IPC_ENDPOINT_HXX_ \ No newline at end of file diff --git a/Private/CFKit/Property.hpp b/Private/CFKit/Property.hpp index e5d7fae0..84b4ed64 100644 --- a/Private/CFKit/Property.hpp +++ b/Private/CFKit/Property.hpp @@ -12,7 +12,7 @@ #include #include -namespace HCore { +namespace NewOS { using PropertyId = Int; class Property { @@ -35,6 +35,6 @@ class Property { template using PropertyArray = Array; -} // namespace HCore +} // namespace NewOS #endif // !_INC_PLIST_HPP__ diff --git a/Private/CFKit/URL.hpp b/Private/CFKit/URL.hpp index eb8f674f..4131247c 100644 --- a/Private/CFKit/URL.hpp +++ b/Private/CFKit/URL.hpp @@ -10,7 +10,7 @@ #include #include -namespace HCore { +namespace NewOS { class Url final { public: explicit Url(StringView &strUrl); @@ -26,7 +26,7 @@ class Url final { ErrorOr url_extract_location(const char *url); ErrorOr url_extract_protocol(const char *url); -} // namespace HCore +} // namespace NewOS #endif /* ifndef _INC_URL_HPP_ */ -- cgit v1.2.3