diff options
Diffstat (limited to 'dev/modules/Power')
| -rw-r--r-- | dev/modules/Power/PowerFactory.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dev/modules/Power/PowerFactory.h b/dev/modules/Power/PowerFactory.h index b7c13280..770c7076 100644 --- a/dev/modules/Power/PowerFactory.h +++ b/dev/modules/Power/PowerFactory.h @@ -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 |
