From cbb57fe714b633cd5b91850eae9cfd326dee2eeb Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Wed, 29 Dec 2021 00:26:47 +0000 Subject: 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 --- utils/rbutilqt/base/bootloaderinstallhelper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/rbutilqt/base/bootloaderinstallhelper.h') 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 Q_OBJECT public: static BootloaderInstallBase* createBootloaderInstaller(QObject* parent, QString type); + static BootloaderInstallBase::Capabilities bootloaderInstallerCapabilities(QObject *parent, QString type); static QString postinstallHints(QString model); }; -- cgit v1.2.3