| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | /* | ||
| 3 | * This file is part of the Falcon Player (FPP) and is Copyright (C) | ||
| 4 | * 2013-2026 by the Falcon Player Developers. | ||
| 5 | * | ||
| 6 | * The Falcon Player (FPP) is free software, and is covered under | ||
| 7 | * multiple Open Source licenses. Please see the included 'LICENSES' | ||
| 8 | * file for descriptions of what files are covered by each license. | ||
| 9 | * | ||
| 10 | * This source file is covered under the LGPL v2.1 as described in the | ||
| 11 | * included LICENSE.LGPL file. | ||
| 12 | */ | ||
| 13 | |||
| 14 | #include "Commands.h" | ||
| 15 | |||
| 16 | // One command, one "Type" dropdown (Value/Increment/Random/Expression) | ||
| 17 | // showing only the fields relevant to the selected type - see | ||
| 18 | // CommandArg::setChildren() and fpp.js UpdateGenericArgChildVisibility(). | ||
| 19 | class SetVariableCommand : public Command { | ||
| 20 | public: | ||
| 21 | SetVariableCommand(); | ||
| 22 | 7468 | virtual ~SetVariableCommand() {} | |
| 23 | virtual std::unique_ptr<Command::Result> run(const std::vector<std::string>& args) override; | ||
| 24 | }; | ||
| 25 |