diff options
Diffstat (limited to 'dev/zka/CFKit')
| -rw-r--r-- | dev/zka/CFKit/GUIDWizard.hxx | 4 | ||||
| -rw-r--r-- | dev/zka/CFKit/URL.hxx | 33 |
2 files changed, 2 insertions, 35 deletions
diff --git a/dev/zka/CFKit/GUIDWizard.hxx b/dev/zka/CFKit/GUIDWizard.hxx index 034aceea..c3f8e5ac 100644 --- a/dev/zka/CFKit/GUIDWizard.hxx +++ b/dev/zka/CFKit/GUIDWizard.hxx @@ -17,6 +17,6 @@ namespace Kernel::XRN::Version1 { - Ref<GUIDSequence*> cf_make_sequence(const ArrayList<UInt32>& seq); - ErrorOr<Ref<Kernel::StringView>> cf_try_guid_to_string(Ref<GUIDSequence*>& guid); + Ref<GUIDSequence> cf_make_sequence(const ArrayList<UInt32>& seq); + ErrorOr<Ref<Kernel::StringView>> cf_try_guid_to_string(Ref<GUIDSequence>& guid); } // namespace Kernel::XRN::Version1 diff --git a/dev/zka/CFKit/URL.hxx b/dev/zka/CFKit/URL.hxx deleted file mode 100644 index 02cced28..00000000 --- a/dev/zka/CFKit/URL.hxx +++ /dev/null @@ -1,33 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies. - -------------------------------------------- */ - -#ifndef _INC_URL_HPP_ -#define _INC_URL_HPP_ - -#include <NewKit/Defines.hxx> -#include <NewKit/String.hxx> - -namespace Kernel -{ - class URL final - { - public: - explicit URL(StringView& strUrl); - ~URL(); - - public: - Ref<ErrorOr<StringView>> Location() noexcept; - Ref<ErrorOr<StringView>> Protocol() noexcept; - - private: - Ref<StringView> fUrlView; - }; - - ErrorOr<StringView> url_extract_location(const Char* url); - ErrorOr<StringView> url_extract_protocol(const Char* url); -} // namespace Kernel - -#endif /* ifndef _INC_URL_HPP_ */ |
