diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-28 13:05:28 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-28 13:05:28 +0100 |
| commit | 84cc6ff6f43b48383248282743efc514946db641 (patch) | |
| tree | fa7f9099b87e235ba122d17b6a3b39234cd39883 /Private/CFKit | |
| parent | 3d798c5fc738768493df925d1f5d72256f2dec4e (diff) | |
Kernel: :boom: breaking changes, Update API and the HCORE based
macros, rename HCore to NewOS.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/CFKit')
| -rw-r--r-- | Private/CFKit/GUIDWizard.hpp | 6 | ||||
| -rw-r--r-- | Private/CFKit/GUIDWrapper.hpp | 4 | ||||
| -rw-r--r-- | Private/CFKit/IPCEndpoint.hxx | 4 | ||||
| -rw-r--r-- | Private/CFKit/Property.hpp | 4 | ||||
| -rw-r--r-- | Private/CFKit/URL.hpp | 4 |
5 files changed, 11 insertions, 11 deletions
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 <NewKit/Stream.hpp> #include <NewKit/String.hpp> -namespace HCore::XRN::Version1 { +namespace NewOS::XRN::Version1 { Ref<GUIDSequence*> make_sequence(const ArrayList<UShort>& seq); -ErrorOr<Ref<HCore::StringView>> try_guid_to_string(Ref<GUIDSequence*>& guid); -} // namespace HCore::XRN::Version1 +ErrorOr<Ref<NewOS::StringView>> try_guid_to_string(Ref<GUIDSequence*>& 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 <NewKit/Function.hpp> #include <NewKit/String.hpp> -namespace HCore { +namespace NewOS { using PropertyId = Int; class Property { @@ -35,6 +35,6 @@ class Property { template <SSizeT N> using PropertyArray = Array<Property, N>; -} // 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 <NewKit/Defines.hpp> #include <NewKit/String.hpp> -namespace HCore { +namespace NewOS { class Url final { public: explicit Url(StringView &strUrl); @@ -26,7 +26,7 @@ class Url final { ErrorOr<StringView> url_extract_location(const char *url); ErrorOr<StringView> url_extract_protocol(const char *url); -} // namespace HCore +} // namespace NewOS #endif /* ifndef _INC_URL_HPP_ */ |
