diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-12-29 00:26:47 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-01-02 15:50:17 -0500 |
commit | cbb57fe714b633cd5b91850eae9cfd326dee2eeb (patch) | |
tree | 57fce120fed1c96313842f63b770dbee9fa55333 /utils/rbutilqt/base/bootloaderinstallhelper.h | |
parent | 42999913ba3a76221fceb04b1f935ed4e0e71476 (diff) | |
download | rockbox-cbb57fe714b633cd5b91850eae9cfd326dee2eeb.tar.gz rockbox-cbb57fe714b633cd5b91850eae9cfd326dee2eeb.zip |
rbutil: allow checking bootloader installer capabilities
Instead of checking for certain hardcoded strings, fetch
the actual capability bitmask by instantiating an installer
and querying it.
Change-Id: I7883d9c1e90da37ee7c0189732ac626685adbfa1
Diffstat (limited to 'utils/rbutilqt/base/bootloaderinstallhelper.h')
-rw-r--r-- | utils/rbutilqt/base/bootloaderinstallhelper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/rbutilqt/base/bootloaderinstallhelper.h b/utils/rbutilqt/base/bootloaderinstallhelper.h index c89444d7a7..9b6fed0866 100644 --- a/utils/rbutilqt/base/bootloaderinstallhelper.h +++ b/utils/rbutilqt/base/bootloaderinstallhelper.h | |||
@@ -29,6 +29,7 @@ class BootloaderInstallHelper : public QObject | |||
29 | Q_OBJECT | 29 | Q_OBJECT |
30 | public: | 30 | public: |
31 | static BootloaderInstallBase* createBootloaderInstaller(QObject* parent, QString type); | 31 | static BootloaderInstallBase* createBootloaderInstaller(QObject* parent, QString type); |
32 | static BootloaderInstallBase::Capabilities bootloaderInstallerCapabilities(QObject *parent, QString type); | ||
32 | static QString postinstallHints(QString model); | 33 | static QString postinstallHints(QString model); |
33 | }; | 34 | }; |
34 | 35 | ||