/*
SPDX-FileCopyrightText: 2021 Hamed Masafi <hamed.masfi@gmail.com>

SPDX-License-Identifier: GPL-3.0-or-later
*/

#pragma once

#include "core/appdialog.h"
#include "libkommitgui_private_export.h"
#include "ui_initdialog.h"

class LIBKOMMITGUI_TESTS_EXPORT InitDialog : public AppDialog, private Ui::InitDialog
{
    Q_OBJECT

public:
    explicit InitDialog(Git::Manager *git, QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
    Q_REQUIRED_RESULT QString path() const;
    void setPath(const QString &path);
};
