From 31698c31a8a48f77a64e97baa5297633b18221e5 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 1 Mar 2025 12:29:05 +0100 Subject: ADD: Add PowerFactory class. Signed-off-by: Amlal El Mahrouss --- dev/Mod/ACPI/ACPIFactoryInterface.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dev/Mod/ACPI') diff --git a/dev/Mod/ACPI/ACPIFactoryInterface.h b/dev/Mod/ACPI/ACPIFactoryInterface.h index 01143c17..eb8d7353 100644 --- a/dev/Mod/ACPI/ACPIFactoryInterface.h +++ b/dev/Mod/ACPI/ACPIFactoryInterface.h @@ -12,14 +12,16 @@ #include #include #include +#include namespace NeOS { + class PowerFactory; class ACPIFactoryInterface; typedef ACPIFactoryInterface PowerFactoryInterface; - class ACPIFactoryInterface final + class ACPIFactoryInterface final : public PowerFactory { public: explicit ACPIFactoryInterface(voidPtr rsp_ptr); @@ -29,7 +31,7 @@ namespace NeOS ACPIFactoryInterface(const ACPIFactoryInterface&) = default; public: - Void Shutdown(); // shutdown + Bool Shutdown(); // shutdown Void Reboot(); // soft-reboot public: -- cgit v1.2.3