summaryrefslogtreecommitdiffhomepage
path: root/dev/modules/Power/PowerFactory.h
blob: 2b47267e66cf6db419e388323356376ebd6ed114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* -------------------------------------------

	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/Ref.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