From 9c1ed84d28edfa4a2b5b0a327dccd83d1a1beef8 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 23 Dec 2012 23:36:00 +0100 Subject: sansapatcher: move sectorbuf pointer into sansa_t structure. Similar as the ipod_t structure for ipodpatcher the sansa_t structure holds all relevant information for sansapatcher. Put the global sansa_sectorbuf pointer into it as well. Change-Id: Iad08ef6aafc49609c3d0d556914246f230ee0179 --- rbutil/rbutilqt/base/bootloaderinstallsansa.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rbutil/rbutilqt/base/bootloaderinstallsansa.h') diff --git a/rbutil/rbutilqt/base/bootloaderinstallsansa.h b/rbutil/rbutilqt/base/bootloaderinstallsansa.h index 55a6341534..40dc89ff25 100644 --- a/rbutil/rbutilqt/base/bootloaderinstallsansa.h +++ b/rbutil/rbutilqt/base/bootloaderinstallsansa.h @@ -21,6 +21,7 @@ #include #include "bootloaderinstallbase.h" +#include "sansapatcher.h" // bootloader installation class for devices handled by sansapatcher. @@ -38,6 +39,7 @@ class BootloaderInstallSansa : public BootloaderInstallBase private: bool sansaInitialize(struct sansa_t *); + struct sansa_t sansa; private slots: void installStage2(void); -- cgit v1.2.3