diff options
Diffstat (limited to 'dev/Mod/Pwr')
| -rw-r--r-- | dev/Mod/Pwr/PowerFactory.h | 35 |
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 |
