diff options
Diffstat (limited to 'dev/modules/Power/PowerFactory.h')
| -rw-r--r-- | dev/modules/Power/PowerFactory.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dev/modules/Power/PowerFactory.h b/dev/modules/Power/PowerFactory.h index b7c13280..b3a663e2 100644 --- a/dev/modules/Power/PowerFactory.h +++ b/dev/modules/Power/PowerFactory.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2025, Amlal El Mahrouss, all rights reserved. + Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. ------------------------------------------- */ @@ -15,8 +15,6 @@ #define NE_POWER_FACTORY : public PowerFactory namespace Kernel { -class PowerFactory; - class PowerFactory { public: explicit PowerFactory() = default; @@ -26,7 +24,7 @@ class PowerFactory { PowerFactory(const PowerFactory&) = default; public: - Bool Shutdown() { return NO; }; // shutdown - Void Reboot(){}; // soft-reboot + virtual Bool Shutdown() { return NO; } // shutdown + virtual Void Reboot() {} // soft-reboot }; } // namespace Kernel
\ No newline at end of file |
