#ifndef _WELCOME_H_
#define _WELCOME_H_

#include <QSettings>
#include "ui_welcome.h"

class Welcome : public QDialog, public Ui::Welcome
{
  Q_OBJECT

  public:
    Welcome(QWidget *parent = 0);
    ~Welcome();

    bool checkOkay;
    QSettings *startupConfig;
    QString variant;
    QString fallbackVariant;

    bool checkConfig();
#if defined(QMC2_SDLMAME)
    void convertSettings_0_2_6();
#endif
    void convertSettings_0_2_7();

  public slots:
    void on_pushButtonOkay_clicked();
    void on_toolButtonBrowseExecutableFile_clicked();
    void on_toolButtonBrowseROMPath_clicked();
    void on_toolButtonBrowseSamplePath_clicked();
    void setupLanguage();
};

#endif
