wiiqt/ohneschwanzenegger/newnandbin.h
giantpune@gmail.com 30f8070e81 * setting.txt dialog knows different regions
* make the button for selecting the NUS_Cache path actually do something in the 2 programs that use NUS
* default NUS_cache is up 2 directories in windoze
* allow reading bad blocks from a txt file when creating a blank nand
2010-12-22 00:25:08 +00:00

41 lines
859 B
C++

#ifndef NEWNANDBIN_H
#define NEWNANDBIN_H
#include "../WiiQt/includes.h"
#include "../WiiQt/nandbin.h"
namespace Ui {
class NewNandBin;
}
class NewNandBin : public QDialog
{
Q_OBJECT
public:
explicit NewNandBin( QWidget *parent = 0, QList<quint16>badBlocks = QList<quint16>() );
~NewNandBin();
static QString GetNewNandPath( QWidget *parent = 0, QList<quint16>badBlocks = QList<quint16>() );
private:
Ui::NewNandBin *ui;
QList<quint16> BadBlocks();
NandBin nand;
QString ret;
QString dir;
private slots:
void on_pushButton_badBlockFile_clicked();
void on_buttonBox_accepted();
void on_pushButton_bb_rm_clicked();
void on_pushButton_bb_add_clicked();
void on_pushButton_dest_clicked();
void on_pushButton_boot_clicked();
void on_pushButton_keys_clicked();
};
#endif // NEWNANDBIN_H