mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-11-22 13:29:14 +01:00
c41bc634a1
* fiix bug when writing supercluster * add macros for nand attributes * adding another example program for creating nand.bin and adding wads. it SEEMS to work as expected, but still, use it with EXTREME CAUTION * changed default NUS_Cache path in NUS downloader to parent directly so the 2 example programs can share the same cache * added "-all" argument for the nandBinchecker git-svn-id: http://wiiqt.googlecode.com/svn/trunk@26 389f4c8b-5dfe-645f-db0e-df882bc27289
39 lines
795 B
C++
39 lines
795 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;
|
|
|
|
private slots:
|
|
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
|