#ifndef BURNPROTOCOLDFU_H
#define BURNPROTOCOLDFU_H


#include "protocol/BurnProtocol.h"
#include "DfuDevice.h"
#include <memory>


class BurnProtocolDfu : public BurnProtocol {
public:
    BurnProtocolDfu();
    ~BurnProtocolDfu() override;

    void detect(LQError &err) override;

    DfuDevice &device() const {return *m_dev;}
private:


private:
    const std::unique_ptr<DfuDevice> m_dev;
};

#endif // BURNPROTOCOLDFU_H
