| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #pragma once |
| 4 | |
| 5 | #include <QList> |
| 6 | #include <QMap> |
| 7 | #include <QString> |
| 8 | |
| 9 | #include "Configuration.h" |
| 10 | |
| 11 | /* |
| 12 | * Namespace for convinient functions to work with nvramtool CLI utility |
| 13 | */ |
| 14 | namespace NvramToolCli { |
| 15 | |
| 16 | Configuration::Parameters readParameters(QString* error = nullptr); |
| 17 | QStringList readOptions(const QString& parameter, QString* error = nullptr); |
| 18 | bool writeParameters(const Configuration::Parameters& parameters, QString* error = nullptr); |
| 19 | QString version(void); |
| 20 | |
| 21 | } |