


#ifndef FASTBOOTWIDGET_H
#define FASTBOOTWIDGET_H

#include <QWidget>
#include "../classes/phone.h"

namespace Ui {
    class FastbootWidget;
}

class FastbootWidget : public QWidget
{
    Q_OBJECT

public:
    explicit FastbootWidget(QWidget *parent = 0, Phone *phone = NULL);
    ~FastbootWidget();

    QString sdk;

//protected:
//    void changeEvent(QEvent *e);

private:
    Ui::FastbootWidget *ui;
    Phone *phone;

private slots:
    void flashSPL();
    void flashRecovery();
    void flashRadio();
    void bootIMG();
};

#endif // FASTBOOTWIDGET_H
