forked from len0rd/rockbox
Move bootloader class initialiation into helper.
Create a BootloaderInstallHelper class for handling post installation hints and creating the installation instance depending on the player model. This removes the base class handling its derived classes which always has been weird, and removes the need to change the base class when adding a new installation method, since the base shouldn't be affected. Change-Id: I2a156d70fd1cff6c48bdd46d10c33d75c953ea90
This commit is contained in:
parent
0dd200b33a
commit
92ef7bd328
5 changed files with 183 additions and 117 deletions
|
|
@ -56,6 +56,7 @@ SOURCES += \
|
|||
sysinfo.cpp \
|
||||
systrace.cpp \
|
||||
base/bootloaderinstallbase.cpp \
|
||||
base/bootloaderinstallhelper.cpp \
|
||||
base/bootloaderinstallmi4.cpp \
|
||||
base/bootloaderinstallhex.cpp \
|
||||
base/bootloaderinstallipod.cpp \
|
||||
|
|
@ -123,6 +124,7 @@ HEADERS += \
|
|||
base/system.h \
|
||||
systrace.h \
|
||||
base/bootloaderinstallbase.h \
|
||||
base/bootloaderinstallhelper.h \
|
||||
base/bootloaderinstallmi4.h \
|
||||
base/bootloaderinstallhex.h \
|
||||
base/bootloaderinstallipod.h \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue