summaryrefslogtreecommitdiffhomepage
path: root/dev/Mod/Pwr
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/Pwr
parent3d718f14b33727cd04599e24c182098e06371871 (diff)
ADD: Add PowerFactory class.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Mod/Pwr')
-rw-r--r--dev/Mod/Pwr/PowerFactory.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev/Mod/Pwr/PowerFactory.h b/dev/Mod/Pwr/PowerFactory.h
new file mode 100644
index 00000000..2992fac1
--- /dev/null
+++ b/dev/Mod/Pwr/PowerFactory.h
@@ -0,0 +1,35 @@
+/* -------------------------------------------
+
+ Copyright (C) 2025, Amlal EL Mahrouss, all rights reserved.
+
+------------------------------------------- */
+
+#pragma once
+
+#include <KernelKit/DebugOutput.h>
+#include <Mod/ACPI/ACPI.h>
+#include <NewKit/ErrorOr.h>
+#include <NewKit/Defines.h>
+#include <NewKit/Ref.h>
+
+namespace NeOS
+{
+ class PowerFactory;
+
+ class PowerFactory
+ {
+ public:
+ explicit PowerFactory() = default;
+ virtual ~PowerFactory() = default;
+
+ PowerFactory& operator=(const PowerFactory&) = default;
+ PowerFactory(const PowerFactory&) = default;
+
+ public:
+ Bool Shutdown()
+ {
+ return NO;
+ }; // shutdown
+ Void Reboot(){}; // soft-reboot
+ };
+} // namespace NeOS \ No newline at end of file