summaryrefslogtreecommitdiffhomepage
path: root/dev/modules/Power
diff options
context:
space:
mode:
Diffstat (limited to 'dev/modules/Power')
-rw-r--r--dev/modules/Power/PowerFactory.h43
1 files changed, 19 insertions, 24 deletions
diff --git a/dev/modules/Power/PowerFactory.h b/dev/modules/Power/PowerFactory.h
index c1bad49b..8cd414c5 100644
--- a/dev/modules/Power/PowerFactory.h
+++ b/dev/modules/Power/PowerFactory.h
@@ -1,37 +1,32 @@
/* -------------------------------------------
- Copyright (C) 2025, Amlal El Mahrouss, all rights reserved.
+ Copyright (C) 2025, Amlal El Mahrouss, all rights reserved.
------------------------------------------- */
#pragma once
#include <KernelKit/DebugOutput.h>
-#include <modules/ACPI/ACPI.h>
-#include <NewKit/ErrorOr.h>
#include <NewKit/Defines.h>
+#include <NewKit/ErrorOr.h>
#include <NewKit/Ref.h>
+#include <modules/ACPI/ACPI.h>
#define NE_POWER_FACTORY : public PowerFactory
-namespace Kernel
-{
- 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 Kernel \ No newline at end of file
+namespace Kernel {
+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 Kernel \ No newline at end of file