summaryrefslogtreecommitdiffhomepage
path: root/dev/Mod/ACPI/ACPIFactoryInterface.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-01 12:29:05 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-01 12:29:05 +0100
commit31698c31a8a48f77a64e97baa5297633b18221e5 (patch)
tree3f10b13f7d6a166fbc61eac5511d026b8d9514c6 /dev/Mod/ACPI/ACPIFactoryInterface.h
parent3d718f14b33727cd04599e24c182098e06371871 (diff)
ADD: Add PowerFactory class.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Mod/ACPI/ACPIFactoryInterface.h')
-rw-r--r--dev/Mod/ACPI/ACPIFactoryInterface.h6
1 files changed, 4 insertions, 2 deletions
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 <NewKit/ErrorOr.h>
#include <NewKit/Defines.h>
#include <NewKit/Ref.h>
+#include <Mod/Pwr/PowerFactory.h>
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: