#ifndef __FIRMWAREDIALOG_H__
#define __FIRMWAREDIALOG_H__

#include <applications/dialog/Dialog.h>
#include <hal/drivers/flash.h>

class CFirmwareDialog: public CDialog
{
public:
	virtual void OnCreat(void);

	virtual void OnEncoderCW(void);
	virtual void OnEncoderCCW(void);

	virtual void OnButtonDown(void);

private:
	int first_line;
	void OnDraw(void);
	flash_file * p_flash_file = nullptr;
};

extern CFirmwareDialog FirmwareDialog;

#endif
