forked from len0rd/rockbox
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
This commit is contained in:
parent
42999913ba
commit
cbb57fe714
6 changed files with 44 additions and 22 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue