summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit/Timer.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-27 19:38:51 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-27 19:42:30 +0100
commitc6c908167e37e0f82e272f6f9fd6462c0dd4502c (patch)
treecb5b6337cc413da9c95e9aa0406ed023b6ce9614 /Private/KernelKit/Timer.hpp
parent2f7c48ef9172ba48fa177600a12ab0d51cb9e566 (diff)
Kernel: Last refactor of the kernel.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/KernelKit/Timer.hpp')
-rw-r--r--Private/KernelKit/Timer.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Private/KernelKit/Timer.hpp b/Private/KernelKit/Timer.hpp
index 32559ee3..6e694ceb 100644
--- a/Private/KernelKit/Timer.hpp
+++ b/Private/KernelKit/Timer.hpp
@@ -16,24 +16,24 @@
namespace hCore
{
- class ITimer;
class HardwareTimer;
+ class HardwareTimerInterface;
- class ITimer
+ class HardwareTimerInterface
{
public:
- ITimer() = default;
- virtual ~ITimer() = default;
+ HardwareTimerInterface() = default;
+ virtual ~HardwareTimerInterface() = default;
public:
- HCORE_COPY_DEFAULT(ITimer);
+ HCORE_COPY_DEFAULT(HardwareTimerInterface);
public:
- virtual Int32 Wait() { return ME_UNIMPLEMENTED; }
+ virtual Int32 Wait() noexcept;
};
- class HardwareTimer final : public ITimer
+ class HardwareTimer final : public HardwareTimerInterface
{
public:
explicit HardwareTimer(Int64 seconds);
@@ -43,7 +43,7 @@ namespace hCore
HCORE_COPY_DEFAULT(HardwareTimer);
public:
- Int32 Wait() override;
+ Int32 Wait() noexcept override;
public:
IntPtr* fDigitalTimer{ nullptr };