forked from len0rd/rockbox
Implementation of Bootloader installation/uninstallation for all Targets in rbUtil. Needs testing. FS#6643
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12439 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a5e0380d90
commit
e863d595b5
23 changed files with 5564 additions and 210 deletions
|
@ -24,6 +24,96 @@
|
|||
|
||||
#include "rbutil.h"
|
||||
|
||||
class wxBootPlatformPage : public wxWizardPageSimple
|
||||
{
|
||||
public:
|
||||
wxBootPlatformPage(wxWizard *parent);
|
||||
virtual bool TransferDataFromWindow(void);
|
||||
virtual wxWizardPage *GetNext() const;
|
||||
void SetNext(wxWizardPage * next) {wxWizardPageSimple::SetNext(next); my_next = next;}
|
||||
|
||||
public:
|
||||
wxListBox* BootPlatformListBox;
|
||||
wxWizardPage *my_next;
|
||||
};
|
||||
|
||||
class wxIpodLocationPage : public wxWizardPageSimple
|
||||
{
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
public:
|
||||
enum {
|
||||
ID_IPODLOCATION_BTN = 1000,
|
||||
};
|
||||
public:
|
||||
wxIpodLocationPage(wxWizard* parent);
|
||||
void OnIpodLocationBtn(wxCommandEvent& event);
|
||||
void OnWizardPageChanging(wxWizardEvent& event);
|
||||
virtual wxWizardPage *GetPrev() const;
|
||||
void SetPrev(wxWizardPage * prev) {wxWizardPageSimple::SetPrev(prev); my_prev = prev;}
|
||||
|
||||
private:
|
||||
wxStaticText* IpodLocationText;
|
||||
wxStaticText* IpodLocationLabel;
|
||||
wxStaticText* IpodLocationExtraText;
|
||||
wxButton* IpodLocationBtn;
|
||||
wxWizardPage *my_prev;
|
||||
};
|
||||
|
||||
|
||||
|
||||
class wxBootLocationPage : public wxWizardPageSimple
|
||||
{
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
public:
|
||||
enum {
|
||||
ID_BOOTLOCATION_BTN = 1000,
|
||||
};
|
||||
|
||||
public:
|
||||
wxBootLocationPage(wxWizard* parent);
|
||||
virtual bool TransferDataFromWindow(void);
|
||||
void OnBootLocationBtn(wxCommandEvent& event);
|
||||
void OnPageShown(wxWizardEvent& event);
|
||||
void OnWizardPageChanging(wxWizardEvent& event);
|
||||
virtual wxWizardPage *GetPrev() const;
|
||||
virtual wxWizardPage *GetNext() const;
|
||||
void SetPrev(wxWizardPage * prev) {wxWizardPageSimple::SetPrev(prev); my_prev = prev;}
|
||||
|
||||
private:
|
||||
wxStaticText* BootLocationText;
|
||||
wxStaticText* BootLocationLabel;
|
||||
wxButton* BootLocationBtn;
|
||||
wxWizardPage *my_prev;
|
||||
|
||||
};
|
||||
|
||||
class wxFirmwareLocationPage : public wxWizardPageSimple
|
||||
{
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
public:
|
||||
enum {
|
||||
ID_FIRMWARELOCATION_BTN = 1000,
|
||||
};
|
||||
|
||||
public:
|
||||
wxFirmwareLocationPage(wxWizard* parent);
|
||||
void OnFirmwareFilenameBtn(wxCommandEvent& event);
|
||||
void OnWizardPageChanging(wxWizardEvent& event);
|
||||
|
||||
private:
|
||||
wxStaticText* FirmwareLocationText;
|
||||
wxStaticText* FirmwareLocationFilename;
|
||||
wxButton* FirmwareLocationBtn;
|
||||
|
||||
};
|
||||
|
||||
|
||||
class wxPlatformPage : public wxWizardPageSimple
|
||||
{
|
||||
public:
|
||||
|
@ -47,9 +137,10 @@ public:
|
|||
public:
|
||||
wxLocationPage(wxWizard* parent);
|
||||
virtual bool TransferDataFromWindow(void);
|
||||
void OnWizardPageChanging(wxWizardEvent& event);
|
||||
void OnLocationBtn(wxCommandEvent& event);
|
||||
|
||||
public:
|
||||
private:
|
||||
wxStaticText* LocationText;
|
||||
};
|
||||
|
||||
|
@ -69,7 +160,7 @@ public:
|
|||
void OnBuildBox(wxCommandEvent& event);
|
||||
void OnPageShown(wxWizardEvent& event);
|
||||
|
||||
public:
|
||||
private:
|
||||
wxRadioBox* BuildRadioBox;
|
||||
wxStaticText* DetailText;
|
||||
wxCheckBox* NoCacheCheckBox;
|
||||
|
@ -81,7 +172,7 @@ public:
|
|||
wxFullUninstallPage(wxWizard *parent);
|
||||
virtual bool TransferDataFromWindow(void);
|
||||
|
||||
public:
|
||||
private:
|
||||
wxCheckBox* FullCheckBox;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue