Debian Codegraph @

src/core/components/controls/amd/fan/fanmode.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-later
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include "core/components/controls/controlmode.h"
7 #include <memory>
8 #include <string_view>
9 #include <utility>
10 #include <vector>
11
12 namespace AMD {
13
14 class FanMode : public ControlMode
15 {
16 public:
17 static constexpr std::string_view ItemID{"AMD_FAN_MODE"};
18
19 FanMode(std::vector<std::unique_ptr<IControl>> &&controls) noexcept
20 : ControlMode(FanMode::ItemID, std::move(controls), true)
21 {
22 }
23 };
24
25 } // namespace AMD