summaryrefslogtreecommitdiffhomepage
path: root/Private/CFKit/URL.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-26 05:16:48 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-26 05:16:48 +0100
commit1cd930c0c72f215101300dfcc5860800a474362d (patch)
tree78b3a29c8d9936baaa78b628e0862eb6546c56d8 /Private/CFKit/URL.hpp
parent4bac72356c29f6f92c0d0df40e1aef09a4216d56 (diff)
Kernel: Adding IPC support.
Kernel: Adding better framebuffer support. Kernel: Expose part of CFKit' URL API. System.Core: Rename most of API types to their <Prefix> with Ref at the end. System.Core: Add API to Window.hxx System.Driver: Add Driver SDK. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/CFKit/URL.hpp')
-rw-r--r--Private/CFKit/URL.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/Private/CFKit/URL.hpp b/Private/CFKit/URL.hpp
index 20375c53..eb8f674f 100644
--- a/Private/CFKit/URL.hpp
+++ b/Private/CFKit/URL.hpp
@@ -4,8 +4,8 @@
------------------------------------------- */
-#ifndef _INC_URL_HPP__
-#define _INC_URL_HPP__
+#ifndef _INC_URL_HPP_
+#define _INC_URL_HPP_
#include <NewKit/Defines.hpp>
#include <NewKit/String.hpp>
@@ -24,6 +24,9 @@ class Url final {
Ref<StringView> m_urlView;
};
+ErrorOr<StringView> url_extract_location(const char *url);
+ErrorOr<StringView> url_extract_protocol(const char *url);
} // namespace HCore
-#endif /* ifndef _INC_URL_HPP__ */
+
+#endif /* ifndef _INC_URL_HPP_ */