mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
37 lines
691 B
C
37 lines
691 B
C
|
/*
|
||
|
* Copyright 2023 arthomnix
|
||
|
*
|
||
|
* This source is subject to the Microsoft Public License (MS-PL).
|
||
|
* Please see the COPYING.md file for more information.
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include "ExportInstanceDialog.h"
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
namespace Ui
|
||
|
{
|
||
|
class ModrinthExportDialog;
|
||
|
}
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
class ModrinthExportDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit ModrinthExportDialog(InstancePtr instance, QWidget *parent = nullptr);
|
||
|
|
||
|
~ModrinthExportDialog() override;
|
||
|
|
||
|
private slots:
|
||
|
void on_fileBrowseButton_clicked();
|
||
|
void accept() override;
|
||
|
void updateDialogState();
|
||
|
|
||
|
private:
|
||
|
Ui::ModrinthExportDialog *ui;
|
||
|
InstancePtr m_instance;
|
||
|
};
|