#ifndef BROWSEWIDGET_H
#define BROWSEWIDGET_H

#include <QWidget>
#include <QSettings>
#include <models/lotrodatmanager.h>

namespace Ui {
class BrowseWidget;
}

class BrowseWidget : public QWidget
{
    Q_OBJECT

public:
    explicit BrowseWidget(LotroDatManager* mgr, QSettings* settings, QWidget *parent = 0);
    ~BrowseWidget();

private slots:
    void on_find_button_common_clicked();
    void on_getFileInfoButton_common_clicked();

    void onLotroLocaleFileContentsReceived(int, LOTRO_DAT::SubfileData);
    void onLotroLocaleFileInfoReceived(int, QString);

private:
    LotroDatManager* lotro_manager;
    QSettings* settings;
    Ui::BrowseWidget *ui;
};

#endif // BROWSEWIDGET_H
