summaryrefslogtreecommitdiffhomepage
path: root/Private/NewKit
diff options
context:
space:
mode:
Diffstat (limited to 'Private/NewKit')
-rw-r--r--Private/NewKit/Application.hxx6
-rw-r--r--Private/NewKit/ErrorID.hpp19
2 files changed, 3 insertions, 22 deletions
diff --git a/Private/NewKit/Application.hxx b/Private/NewKit/Application.hxx
index 78ae20cd..aae97c6f 100644
--- a/Private/NewKit/Application.hxx
+++ b/Private/NewKit/Application.hxx
@@ -17,7 +17,7 @@
/// \brief Application Interface.
/// \author Amlal El Mahrouss
-typedef struct _Application final
+typedef struct _ApplicationInterface final
{
/// @brief Releases the object exit the process on main object.
NewOS::Void (*Release)(struct _Application* Self, NewOS::Int32 ExitCode);
@@ -26,6 +26,6 @@ typedef struct _Application final
/// @brief Query a new application object from a GUID.
/// @note this doesn't query a process, it query a registered object withtin that app.
NewOS::Void (*Query)(struct _Application* Self, NewOS::VoidPtr* Dst, NewOS::SizeT SzDst, NewOS::XRN::GUIDSequence GuidOf);
-} Application, *ApplicationRef;
+} ApplicationInterface, *ApplicationInterfaceRef;
-#define app_cast reinterpret_cast<ApplicationRef>
+#define app_cast reinterpret_cast<ApplicationInterfaceRef>
diff --git a/Private/NewKit/ErrorID.hpp b/Private/NewKit/ErrorID.hpp
deleted file mode 100644
index fcd574e2..00000000
--- a/Private/NewKit/ErrorID.hpp
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -------------------------------------------
-
- Copyright Mahrouss Logic
-
-------------------------------------------- */
-
-#pragma once
-
-/// @brief Internal kernel errors.
-
-#include <NewKit/ErrorOr.hpp>
-#include <NewKit/Defines.hpp>
-
-#define H_EXEC_ERROR 33
-#define H_FILE_NOT_FOUND 35
-#define H_DIR_NOT_FOUND 36
-#define H_FILE_EXISTS 46
-#define H_UNIMPLEMENTED 0
-#define H_INVALID_DATA 1